cmenu: use VT-100 alternate character set for drawing boxes
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Sat, 29 Aug 2009 05:06:12 +0000 (22:06 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Tue, 1 Sep 2009 18:43:38 +0000 (11:43 -0700)
commit600046a1b6f64d6a557d326d495d8d8afad5dbb9
tree4a8e3c5928e95cc0c5fadf30b6ec9e7644bdd9c5
parentd79a67642cb6200af84eaf451808b1c0d06f673b
cmenu: use VT-100 alternate character set for drawing boxes

Use the Special Characters and Line Drawing Character Set as
described in http://www.vt100.net/docs/vt102-ug/table5-13.html
to draw boxes around the menus.

Note that to work in xterm, G1 needs to be initialized (to point
to the alternate character set). This is done in the cls function
("\033)0").

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/cmenu/libmenu/tui.c
com32/cmenu/libmenu/tui.h