From 0fd26895e1d3248d53a9912074a52e432d7e036e Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 16 Nov 2003 20:33:17 +0000 Subject: 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 --- src/fe-text/gui-readline.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/fe-text') 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); -- cgit v1.2.3