Attempt to complete fixing programmable function keys for syscons.

The flag for the driver capability of supporting the fix is independent
of the flag for cons25 mode so that it can be managed independently, but
I forget to preserve it when resetting the terminal.
This commit is contained in:
bde 2019-02-20 02:14:41 +00:00
parent d3acecd0b7
commit 06fa597aae

View File

@ -1000,7 +1000,7 @@ teken_subr_do_reset(teken_t *t)
t->t_scrollreg.ts_begin = 0;
t->t_scrollreg.ts_end = t->t_winsize.tp_row;
t->t_originreg = t->t_scrollreg;
t->t_stateflags &= TS_8BIT|TS_CONS25;
t->t_stateflags &= TS_8BIT | TS_CONS25 | TS_CONS25KEYS;
t->t_stateflags |= TS_AUTOWRAP;
t->t_scs[0] = teken_scs_us_ascii;