Make ^c work in ddb(4).
Obtained from: CheriBSD MFC after: 2 weeks Sponsored by: DARPA, AFRL
This commit is contained in:
parent
eeb6101e04
commit
81e12dd187
@ -195,6 +195,7 @@ db_inputchar(c)
|
|||||||
db_delete(1, DEL_FWD);
|
db_delete(1, DEL_FWD);
|
||||||
break;
|
break;
|
||||||
case CTRL('u'):
|
case CTRL('u'):
|
||||||
|
case CTRL('c'):
|
||||||
/* kill entire line: */
|
/* kill entire line: */
|
||||||
/* at first, delete to beginning of line */
|
/* at first, delete to beginning of line */
|
||||||
if (db_lc > db_lbuf_start)
|
if (db_lc > db_lbuf_start)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user