From 81e12dd1873123e9e072bb51ed39e232e790634f Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Thu, 6 Jul 2017 15:27:34 +0000 Subject: [PATCH] Make ^c work in ddb(4). Obtained from: CheriBSD MFC after: 2 weeks Sponsored by: DARPA, AFRL --- sys/ddb/db_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/ddb/db_input.c b/sys/ddb/db_input.c index 77b3ddb33d4b..04c0d592b8ff 100644 --- a/sys/ddb/db_input.c +++ b/sys/ddb/db_input.c @@ -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)