diff options
| author | Xin LI <delphij@FreeBSD.org> | 2011-05-09 18:30:23 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2011-05-09 18:30:23 +0000 |
| commit | ed915d8294a373813108148f47b424e1152e4a5d (patch) | |
| tree | 345f36f8a19a9fdb66be9a0a5676b2c0abc67bae /cmdbuf.c | |
| parent | f4cb5a505fa28e14d4b01e5c934bcf965a1822b6 (diff) | |
Diffstat (limited to 'cmdbuf.c')
| -rw-r--r-- | cmdbuf.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (C) 1984-2009 Mark Nudelman + * Copyright (C) 1984-2011 Mark Nudelman * * You may distribute under the terms of either the GNU General Public * License or the Less License, as specified in the README file. @@ -857,6 +857,10 @@ cmd_edit(c) case EC_LINEKILL: not_in_completion(); return (cmd_kill()); + case EC_ABORT: + not_in_completion(); + (void) cmd_kill(); + return (CC_QUIT); case EC_W_BACKSPACE: not_in_completion(); return (cmd_werase()); |
