diff --git a/src/config/options.c b/src/config/options.c index 14ab8db9a..5bf518140 100644 --- a/src/config/options.c +++ b/src/config/options.c @@ -684,23 +684,23 @@ static inline void register_autocreated_options(void) { /* TODO: Use table-driven initialization. --jonas */ - get_opt_int("terminal.linux.type") = 2; - get_opt_int("terminal.linux.colors") = 1; + get_opt_int("terminal.linux.type") = TERM_LINUX; + get_opt_int("terminal.linux.colors") = COLOR_MODE_16; get_opt_bool("terminal.linux.m11_hack") = 1; - get_opt_int("terminal.vt100.type") = 1; - get_opt_int("terminal.vt110.type") = 1; - get_opt_int("terminal.xterm.type") = 1; + get_opt_int("terminal.vt100.type") = TERM_VT100; + get_opt_int("terminal.vt110.type") = TERM_VT100; + get_opt_int("terminal.xterm.type") = TERM_VT100; get_opt_bool("terminal.xterm.underline") = 1; - get_opt_int("terminal.xterm-color.type") = 1; + get_opt_int("terminal.xterm-color.type") = TERM_VT100; get_opt_int("terminal.xterm-color.colors") = COLOR_MODE_16; get_opt_bool("terminal.xterm-color.underline") = 1; #ifdef CONFIG_88_COLORS - get_opt_int("terminal.xterm-88color.type") = 1; + get_opt_int("terminal.xterm-88color.type") = TERM_VT100; get_opt_int("terminal.xterm-88color.colors") = COLOR_MODE_88; get_opt_bool("terminal.xterm-88color.underline") = 1; #endif #ifdef CONFIG_256_COLORS - get_opt_int("terminal.xterm-256color.type") = 1; + get_opt_int("terminal.xterm-256color.type") = TERM_VT100; get_opt_int("terminal.xterm-256color.colors") = COLOR_MODE_256; get_opt_bool("terminal.xterm-256color.underline") = 1; #endif