mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Drop the unneeded input-function exit. It was only there for compatiability with readline, which we have rdropped.
darcs-hash:20070929072114-75c98-db188ce2bc31a0668867f9de05ffeed098b988c2.gz
This commit is contained in:
10
input.c
10
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,
|
||||
@@ -339,14 +337,6 @@ static int interrupt_handler()
|
||||
if( job_reap( 1 ) )
|
||||
repaint();
|
||||
|
||||
/*
|
||||
Check if we should exit
|
||||
*/
|
||||
if( exit_status() )
|
||||
{
|
||||
return R_EXIT;
|
||||
}
|
||||
|
||||
/*
|
||||
Tell the reader an event occured
|
||||
*/
|
||||
|
||||
1
input.h
1
input.h
@@ -40,7 +40,6 @@ enum
|
||||
R_BACKWARD_KILL_WORD,
|
||||
R_DUMP_FUNCTIONS,
|
||||
R_WINCH,
|
||||
R_EXIT,
|
||||
R_HISTORY_TOKEN_SEARCH_BACKWARD,
|
||||
R_HISTORY_TOKEN_SEARCH_FORWARD,
|
||||
R_SELF_INSERT,
|
||||
|
||||
Reference in New Issue
Block a user