pull request 229/#H9299 - DECgraphics for curses
Fixes #230 Incorporate github pull request #230, support for DECgraphics-style line drawing in the curses interface. I've rewritten the curses_convert_glyph() part so that it doesn't require C99 and doesn't reinitialize its pair of arrays for every character written to the map. The DECgraphics conversion is now a straight char for char one, DEC line drawing code to ACS, without regard to what map symbol is intended or what 'cursesgraphics' uses for that symbol.
This commit is contained in:
@@ -152,7 +152,7 @@ extern char *curses_break_str(const char *str, int width, int line_num);
|
||||
extern char *curses_str_remainder(const char *str, int width, int line_num);
|
||||
extern boolean curses_is_menu(winid wid);
|
||||
extern boolean curses_is_text(winid wid);
|
||||
extern int curses_convert_glyph(int ch, int glyph);
|
||||
extern int curses_convert_glyph(boolean decgraphics, int ch, int glyph);
|
||||
extern void curses_move_cursor(winid wid, int x, int y);
|
||||
extern void curses_prehousekeeping(void);
|
||||
extern void curses_posthousekeeping(void);
|
||||
|
||||
Reference in New Issue
Block a user