aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-05-14 20:16:23 +1000
committerGravatar axel <axel@liljencrantz.se>2006-05-14 20:16:23 +1000
commit9ebdc16be6bf347dbd0b892f73f4e8329e970916 (patch)
treec89e80559a598f5c2423e2210082e0a06bc3fa95 /input.c
parent92ecc01baa1e762bc726dc51145434137efc65d4 (diff)
Fix the longstanding hang-on-exit bug in eterm, as well as making sure the history is saved when the terminal emulator exits
darcs-hash:20060514101623-ac50b-f8ce693ec111e3c158640ef8de309bf7e5484c5b.gz
Diffstat (limited to 'input.c')
-rw-r--r--input.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/input.c b/input.c
index 27b7b98e..4226cacb 100644
--- a/input.c
+++ b/input.c
@@ -119,7 +119,8 @@ const wchar_t *name_arr[] =
L"history-token-search-backward",
L"history-token-search-forward",
L"self-insert",
- L"null"
+ L"null",
+ L"eof"
}
;
@@ -155,7 +156,8 @@ const wchar_t *desc_arr[] =
L"Search backward through list of previous commands for matching token",
L"Search forward through list of previous commands for matching token",
L"Insert the pressed key",
- L"Do nothing"
+ L"Do nothing",
+ L"End of file"
}
;
@@ -191,7 +193,8 @@ const wchar_t code_arr[] =
R_HISTORY_TOKEN_SEARCH_BACKWARD,
R_HISTORY_TOKEN_SEARCH_FORWARD,
R_SELF_INSERT,
- R_NULL
+ R_NULL,
+ R_EOF
}
;