Author: bde
Date: Wed Feb 20 02:14:41 2019
New Revision: 344331
URL: https://svnweb.freebsd.org/changeset/base/344331

Log:
  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.

Modified:
  head/sys/teken/teken_subr.h

Modified: head/sys/teken/teken_subr.h
==============================================================================
--- head/sys/teken/teken_subr.h Wed Feb 20 01:12:59 2019        (r344330)
+++ head/sys/teken/teken_subr.h Wed Feb 20 02:14:41 2019        (r344331)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to