1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

TERMINFO does not work well for linux-m

This commit is contained in:
Witold Filipczyk 2017-11-28 20:31:41 +01:00
parent bbc3ead99c
commit d466e84eb6

View File

@ -539,6 +539,11 @@ set_screen_driver_opt(struct screen_driver *driver, struct option *term_spec)
return;
}
#endif
if (driver->opt.color_mode == COLOR_MODE_MONO) {
driver->opt.terminfo = 0;
return;
}
switch (terminfo_max_colors()) {
case 88:
#ifdef CONFIG_88_COLORS