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

This commit is contained in:
martin 2019-01-22 18:39:49 +00:00
parent 18a9b5c8db
commit cf341f607a
1 changed files with 5 additions and 1 deletions

View File

@ -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, const char *def, char *val,
} else
_msg_beep();
break;
case 'l' & 0x1f:
endwin();
doupdate();
break;
case 'u' & 0x1f: /* ^U; line kill */
/* kill line */
len = pos = 0;