1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

fixes to allow you to register a new keyboard redirection inside a

redirection handler. patch by c0ffee.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2995 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-11-11 06:54:32 +00:00 committed by cras
parent 488e7b70f4
commit 768daa6824

View File

@ -81,10 +81,10 @@ static void handle_key_redirect(int key)
data = redir->data;
g_free_and_null(redir);
gui_entry_set_prompt(active_entry, "");
if (func != NULL)
func(key, data, active_win->active_server, active_win->active);
gui_entry_set_prompt(active_entry, "");
}
static void handle_entry_redirect(const char *line)
@ -98,12 +98,12 @@ static void handle_entry_redirect(const char *line)
data = redir->data;
g_free_and_null(redir);
gui_entry_set_prompt(active_entry, "");
if (func != NULL) {
func(line, data, active_win->active_server,
active_win->active);
}
gui_entry_set_prompt(active_entry, "");
}
static int get_scroll_count(void)