mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-02 08:57:19 -04:00
[config] Recognize st
This commit is contained in:
parent
bde596ab67
commit
06df96c5db
@ -795,6 +795,19 @@ register_autocreated_options(void)
|
|||||||
get_opt_int("terminal.fbterm.colors", NULL) = COLOR_MODE_256;
|
get_opt_int("terminal.fbterm.colors", NULL) = COLOR_MODE_256;
|
||||||
get_opt_bool("terminal.fbterm.underline", NULL) = 0;
|
get_opt_bool("terminal.fbterm.underline", NULL) = 0;
|
||||||
#endif
|
#endif
|
||||||
|
get_opt_int("terminal.st-256color.type", NULL) = TERM_VT100;
|
||||||
|
get_opt_int("terminal.st-256color.latin1_title", NULL) = 0;
|
||||||
|
#ifdef CONFIG_TRUE_COLOR
|
||||||
|
get_opt_int("terminal.st-256color.colors", NULL) = COLOR_MODE_TRUE_COLOR;
|
||||||
|
#elif defined(CONFIG_256_COLORS)
|
||||||
|
get_opt_int("terminal.st-256color.colors", NULL) = COLOR_MODE_256;
|
||||||
|
#elif defined(CONFIG_88_COLORS)
|
||||||
|
get_opt_int("terminal.st-256color.colors", NULL) = COLOR_MODE_88;
|
||||||
|
#else
|
||||||
|
get_opt_int("terminal.st-256color.colors", NULL) = COLOR_MODE_16;
|
||||||
|
#endif
|
||||||
|
get_opt_bool("terminal.st-256color.italic", NULL) = 1;
|
||||||
|
get_opt_bool("terminal.st-256color.underline", NULL) = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern union option_info cmdline_options_info[];
|
extern union option_info cmdline_options_info[];
|
||||||
|
Loading…
Reference in New Issue
Block a user