Make ^c work in ddb(4).

Obtained from:	CheriBSD
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
This commit is contained in:
trasz 2017-07-06 15:27:34 +00:00
parent 4be3a86074
commit 233791b7c7

View File

@ -195,6 +195,7 @@ db_inputchar(c)
db_delete(1, DEL_FWD);
break;
case CTRL('u'):
case CTRL('c'):
/* kill entire line: */
/* at first, delete to beginning of line */
if (db_lc > db_lbuf_start)