X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=ui.h;h=25bc8509db2070d224f907808bf50acf1de9079d;hb=refs%2Fheads%2Fexperimental;hp=7e1b8a8cda6008d8882236bc2d2ad0e447f346a6;hpb=c6f9aac99da7e21fb3d717fe82f80382361a5dff;p=pkg%2Fabook.git diff --git a/ui.h b/ui.h index 7e1b8a8..25bc850 100644 --- a/ui.h +++ b/ui.h @@ -15,13 +15,15 @@ void close_ui(); void headerline(const char *str); void refresh_screen(); int statusline_msg(const char *msg); -int statusline_askchoice(const char *msg, const char *choices, short dflt); -char *ask_filename(char *prompt); -int statusline_ask_boolean(char *msg, int def); +int statusline_askchoice(const char *msg, const char *choices, + short dflt); +char *ask_filename(const char *prompt); +int statusline_ask_boolean(const char *msg, int def); void clear_statusline(); void display_help(int help); void statusline_addstr(const char *str); -char * ui_readline(char *prompt, char *s, size_t limit, bool use_completion); +char * ui_readline(const char *prompt, char *s, size_t limit, + bool use_completion); void refresh_statusline(); void get_commands(); void ui_remove_items(); @@ -38,6 +40,8 @@ void ui_open_datafile(); #define UI_HLINE_CHAR opt_get_bool(BOOL_USE_ASCII_ONLY) ? \ '-' : ACS_HLINE +#define UI_VLINE_CHAR opt_get_bool(BOOL_USE_ASCII_ONLY) ? \ + '|' : ACS_VLINE #define UI_TEE_CHAR opt_get_bool(BOOL_USE_ASCII_ONLY) ? \ '-' : ACS_BTEE #define UI_LBOXLINE_CHAR opt_get_bool(BOOL_USE_ASCII_ONLY) ? \