aboutsummaryrefslogtreecommitdiffstats
path: root/src/ansi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ansi.c')
-rw-r--r--src/ansi.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ansi.c b/src/ansi.c
index b9c4984..c661243 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.41 2008/03/02 12:30:54 staffcvs
+ * *** empty log message ***
+ *
* Revision 1.40 2008/03/02 10:50:32 staffcvs
* *** empty log message ***
*
@@ -682,7 +685,9 @@ ansi_key (ANSI * a, Context * c, int key)
cmd_show_status (c->d, c);
if (c->d->active) {
- if (key == CMD_KEY) {
+ if (key == CMD_CANCEL_KEY) {
+ return cmd_deactivate (c->d, c);
+ } else if (key == CMD_KEY) {
cmd_deactivate (c->d, c);
} else {
return cmd_key (c->d, c, a, key);