summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-19 10:21:36 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-19 10:21:36 +0000
commitde24fbb35ce763c5e905c726733a561f5fa34724 (patch)
tree543ef7b0b3226b235334b5689b9ce91cef97d756 /input.c
parent94f003bbec843d08205e9e8dff7819e1d5364138 (diff)
Add a bell-action option.
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input.c b/input.c
index c0619299..6d43c760 100644
--- a/input.c
+++ b/input.c
@@ -1,4 +1,4 @@
-/* $Id: input.c,v 1.23 2007-10-12 11:44:30 nicm Exp $ */
+/* $Id: input.c,v 1.24 2007-10-19 10:21:33 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -390,7 +390,7 @@ input_handle_c0_control(u_char ch, struct input_ctx *ictx)
break;
case '\007': /* BELL */
ictx->flags |= INPUT_BELL;
- break;
+ return;
case '\010': /* BS */
if (ictx->s->cx > 0)
ictx->s->cx--;