aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-05 07:45:02 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-05 07:45:02 +1000
commitd1078f8582bff8365d233664458c509305350f5c (patch)
tree2c6779215cece3b16c24453127a206e7b4cc3fde /input.c
parent0ea668b260bcb640de7bdcb3feff4f7d9187e32c (diff)
Detect and handle terminals size changes
darcs-hash:20061004214502-ac50b-aaf5b76a6281c0ba8757e794b0a802793ce92916.gz
Diffstat (limited to 'input.c')
-rw-r--r--input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/input.c b/input.c
index 2d57b84f..833e7808 100644
--- a/input.c
+++ b/input.c
@@ -123,7 +123,7 @@ static const wchar_t *name_arr[] =
L"kill-word",
L"backward-kill-word",
L"dump-functions",
- L"clear-screen",
+ L"winch",
L"exit",
L"history-token-search-backward",
L"history-token-search-forward",
@@ -200,7 +200,7 @@ static const wchar_t code_arr[] =
R_KILL_WORD,
R_BACKWARD_KILL_WORD,
R_DUMP_FUNCTIONS,
- R_CLEAR_SCREEN,
+ R_WINCH,
R_EXIT,
R_HISTORY_TOKEN_SEARCH_BACKWARD,
R_HISTORY_TOKEN_SEARCH_FORWARD,
@@ -1398,7 +1398,7 @@ static int interrupt_handler()
return 3;
}
- return 0;
+ return R_WINCH;
}
int input_init()