Module Name:    src
Committed By:   martin
Date:           Tue Jan 22 18:39:49 UTC 2019

Modified Files:
        src/usr.bin/msgc: msg_sys.def

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


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/msgc/msg_sys.def

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/msgc/msg_sys.def
diff -u src/usr.bin/msgc/msg_sys.def:1.42 src/usr.bin/msgc/msg_sys.def:1.43
--- src/usr.bin/msgc/msg_sys.def:1.42	Mon Jan 21 20:28:08 2019
+++ src/usr.bin/msgc/msg_sys.def	Tue Jan 22 18:39:49 2019
@@ -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 @@ _msg_vprompt(const char *fmt, int flags,
 			} else
 				_msg_beep();
 			break;
+		case 'l' & 0x1f:
+			endwin();
+			doupdate();
+			break;
 		case 'u' & 0x1f:	/* ^U; line kill */
 			/* kill line */
 			len = pos = 0;

Reply via email to