Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/msgc Support redrawing all windows when in a msg pro...



details:   https://anonhg.NetBSD.org/src/rev/63a30b25646d
branches:  trunk
changeset: 448142:63a30b25646d
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jan 22 18:39:49 2019 +0000

description:
Support redrawing all windows when in a msg prompt via Ctrl-l.

diffstat:

 usr.bin/msgc/msg_sys.def |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 33c6b727bb40 -r 63a30b25646d usr.bin/msgc/msg_sys.def
--- a/usr.bin/msgc/msg_sys.def  Tue Jan 22 17:41:06 2019 +0000
+++ b/usr.bin/msgc/msg_sys.def  Tue Jan 22 18:39:49 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg_sys.def,v 1.42 2019/01/21 20:28:08 martin Exp $    */
+/*     $NetBSD: msg_sys.def,v 1.43 2019/01/22 18:39:49 martin Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -402,6 +402,10 @@
                        } else
                                _msg_beep();
                        break;
+               case 'l' & 0x1f:
+                       endwin();
+                       doupdate();
+                       break;
                case 'u' & 0x1f:        /* ^U; line kill */
                        /* kill line */
                        len = pos = 0;



Home | Main Index | Thread Index | Old Index