From 577df3d6dd77673ae9ad15ea089444e2a0c8d951 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 20 Feb 2019 02:14:41 +0000 Subject: [PATCH] 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. --- sys/teken/teken_subr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/teken/teken_subr.h b/sys/teken/teken_subr.h index 91b87f3bf47..8db1c024b31 100644 --- a/sys/teken/teken_subr.h +++ b/sys/teken/teken_subr.h @@ -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;