From 233791b7c79c536eb1904ad384082b09ca490c80 Mon Sep 17 00:00:00 2001 From: trasz 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)