Support redrawing all windows when in a msg prompt via Ctrl-l.
This commit is contained in:
parent
18a9b5c8db
commit
cf341f607a
|
@ -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.
|
* Copyright 1997 Piermont Information Systems Inc.
|
||||||
|
@ -402,6 +402,10 @@ _msg_vprompt(const char *fmt, int flags, const char *def, char *val,
|
||||||
} else
|
} else
|
||||||
_msg_beep();
|
_msg_beep();
|
||||||
break;
|
break;
|
||||||
|
case 'l' & 0x1f:
|
||||||
|
endwin();
|
||||||
|
doupdate();
|
||||||
|
break;
|
||||||
case 'u' & 0x1f: /* ^U; line kill */
|
case 'u' & 0x1f: /* ^U; line kill */
|
||||||
/* kill line */
|
/* kill line */
|
||||||
len = pos = 0;
|
len = pos = 0;
|
||||||
|
|
Loading…
Reference in New Issue