diff options
author | Timo Sirainen <cras@irssi.org> | 2003-11-16 20:33:17 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2003-11-16 20:33:17 +0000 |
commit | 0fd26895e1d3248d53a9912074a52e432d7e036e (patch) | |
tree | 8c89707f7c7f19b5164847ef5087780e549d669a /src/fe-text | |
parent | c502845b3b51ee0d4beaeaca07a6351d30d09ad2 (diff) | |
download | irssi-0fd26895e1d3248d53a9912074a52e432d7e036e.zip |
changed /set pster_detect_keycount 5 -> 6 to fix function keys
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3156 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/gui-readline.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index f57e5600..68758273 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -744,7 +744,9 @@ void gui_readline_init(void) settings_add_str("history", "scroll_page_count", "/2"); settings_add_time("misc", "paste_detect_time", "10msecs"); - settings_add_int("misc", "paste_detect_keycount", 5); + /* NOTE: function keys can generate at least 5 characters long + keycodes. this must be larger to allow them to work. */ + settings_add_int("misc", "paste_detect_keycount", 6); setup_changed(); keyboard = keyboard_create(NULL); |