mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-27 02:56:18 -04:00
Do not use terminfo for true color mode.
This commit is contained in:
parent
26d1759d35
commit
03968b93c8
@ -530,6 +530,15 @@ set_screen_driver_opt(struct screen_driver *driver, struct option *term_spec)
|
|||||||
} /* !utf8_io */
|
} /* !utf8_io */
|
||||||
#ifdef CONFIG_TERMINFO
|
#ifdef CONFIG_TERMINFO
|
||||||
driver->opt.terminfo = get_cmd_opt_bool("terminfo");
|
driver->opt.terminfo = get_cmd_opt_bool("terminfo");
|
||||||
|
if (!driver->opt.terminfo) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#ifdef CONFIG_TRUE_COLOR
|
||||||
|
if (driver->opt.color_mode == COLOR_MODE_TRUE_COLOR) {
|
||||||
|
driver->opt.terminfo = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
switch (terminfo_max_colors()) {
|
switch (terminfo_max_colors()) {
|
||||||
case 88:
|
case 88:
|
||||||
#ifdef CONFIG_88_COLORS
|
#ifdef CONFIG_88_COLORS
|
||||||
|
Loading…
Reference in New Issue
Block a user