Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2017 15:27:34 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320741 - head/sys/ddb
Message-ID:  <201707061527.v66FRYKI064901@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Thu Jul  6 15:27:34 2017
New Revision: 320741
URL: https://svnweb.freebsd.org/changeset/base/320741

Log:
  Make ^c work in ddb(4).
  
  Obtained from:	CheriBSD
  MFC after:	2 weeks
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/ddb/db_input.c

Modified: head/sys/ddb/db_input.c
==============================================================================
--- head/sys/ddb/db_input.c	Thu Jul  6 15:21:57 2017	(r320740)
+++ head/sys/ddb/db_input.c	Thu Jul  6 15:27:34 2017	(r320741)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707061527.v66FRYKI064901>