aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu/libmenu/tui.h
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-29 20:53:38 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-09-01 11:43:38 -0700
commitf7c2dd07b141050f6401622382be26fe9442d949 (patch)
tree4cd28d3eb45fd8fe102586073fd1ec33359c5bba /com32/cmenu/libmenu/tui.h
parente9a9e808f2705766ef7f80b0970401dbeb690433 (diff)
downloadsyslinux-f7c2dd07b141050f6401622382be26fe9442d949.tar.gz
syslinux-f7c2dd07b141050f6401622382be26fe9442d949.tar.xz
syslinux-f7c2dd07b141050f6401622382be26fe9442d949.zip
cmenu: fix menu separators
Use the alternate character set to draw horizontal lines (menu separator). Refactor the c*print functions in the same time as they were severely broken. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/cmenu/libmenu/tui.h')
-rw-r--r--com32/cmenu/libmenu/tui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/com32/cmenu/libmenu/tui.h b/com32/cmenu/libmenu/tui.h
index 5cf5dd7a..54bce86e 100644
--- a/com32/cmenu/libmenu/tui.h
+++ b/com32/cmenu/libmenu/tui.h
@@ -33,6 +33,9 @@
#define BOTTOM_RIGHT_CORNER_BORDER '\152'
#define LEFT_BORDER '\170'
#define RIGHT_BORDER '\170'
+#define LEFT_MIDDLE_BORDER '\164'
+#define MIDDLE_BORDER '\161'
+#define RIGHT_MIDDLE_BORDER '\165'
#define BELL 0x07
// CHRELATTR = ^N, CHABSATTR = ^O