Make ^c work in ddb(4).

Obtained from:	CheriBSD
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
This commit is contained in:
Edward Tomasz Napierala 2017-07-06 15:27:34 +00:00
parent eeb6101e04
commit 81e12dd187
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320741

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)