};
int is_ui_initialized();
+void ui_init_curses();
int init_ui();
void close_ui();
void headerline(char *str);
void ui_open_datafile();
-#ifdef USE_ASCII_ONLY
-# define UI_HLINE_CHAR '-'
-#else
-# define UI_HLINE_CHAR ACS_HLINE
-#endif
+#include "options.h" /* needed for options_get_int */
+
+#define UI_HLINE_CHAR options_get_int("use_ascii_only") ? \
+ '-' : ACS_HLINE
+
#endif