aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.c
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2007-09-29 17:21:14 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2007-09-29 17:21:14 +1000
commitdde3838f2d577b0cfaadbce96e63a5561de87582 (patch)
tree6da87cd5cafc3bbac8079b3ee5e4ed585af9e714 /input.c
parent97b77d1b3aebc8d1fcc5a986aa9a47b6d854e671 (diff)
Drop the unneeded input-function exit. It was only there for compatiability with readline, which we have rdropped.
darcs-hash:20070929072114-75c98-db188ce2bc31a0668867f9de05ffeed098b988c2.gz
Diffstat (limited to 'input.c')
-rw-r--r--input.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/input.c b/input.c
index 665d4547..bb6ea77b 100644
--- a/input.c
+++ b/input.c
@@ -136,7 +136,6 @@ static const wchar_t *name_arr[] =
L"backward-kill-word",
L"dump-functions",
L"winch",
- L"exit",
L"history-token-search-backward",
L"history-token-search-forward",
L"self-insert",
@@ -220,7 +219,6 @@ static const wchar_t code_arr[] =
R_BACKWARD_KILL_WORD,
R_DUMP_FUNCTIONS,
R_WINCH,
- R_EXIT,
R_HISTORY_TOKEN_SEARCH_BACKWARD,
R_HISTORY_TOKEN_SEARCH_FORWARD,
R_SELF_INSERT,
@@ -340,14 +338,6 @@ static int interrupt_handler()
repaint();
/*
- Check if we should exit
- */
- if( exit_status() )
- {
- return R_EXIT;
- }
-
- /*
Tell the reader an event occured
*/
if( reader_interrupted() )