1
0
Fork 0

Merge pull request #55 from guidocella/st

[config] Recognize st
This commit is contained in:
rkd77 2020-07-05 11:56:52 +02:00 committed by GitHub
commit e885341db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -795,6 +795,19 @@ register_autocreated_options(void)
get_opt_int("terminal.fbterm.colors", NULL) = COLOR_MODE_256;
get_opt_bool("terminal.fbterm.underline", NULL) = 0;
#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[];