diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-07-30 18:41:48 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-07-30 18:41:48 +0000 |
commit | 9e328d3fef0d87135d7c4aa5d22f35a5703208cd (patch) | |
tree | 0f86190a7424fd0118c58ab66b4b90c39d7a069b /src/gui/curses | |
parent | 312d8015f5d52ee28bcbdf6d543a7e1c3a0b4063 (diff) | |
download | weechat-9e328d3fef0d87135d7c4aa5d22f35a5703208cd.zip |
ctrl-up/ctrl-down keys added to call previous/next command in global history (common to all buffers)
Diffstat (limited to 'src/gui/curses')
-rw-r--r-- | src/gui/curses/gui-display.c | 4 | ||||
-rw-r--r-- | src/gui/curses/gui-input.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c index 6f77de572..e1816a40c 100644 --- a/src/gui/curses/gui-display.c +++ b/src/gui/curses/gui-display.c @@ -2465,8 +2465,8 @@ gui_end () while (gui_windows) gui_window_free (gui_windows); - /* delete general history */ - history_general_free (); + /* delete global history */ + history_global_free (); /* delete infobar messages */ while (gui_infobar) diff --git a/src/gui/curses/gui-input.c b/src/gui/curses/gui-input.c index e290f9f42..ec5fe0551 100644 --- a/src/gui/curses/gui-input.c +++ b/src/gui/curses/gui-input.c @@ -75,7 +75,9 @@ gui_input_default_key_bindings () gui_key_bind ( /* left */ "meta2-D", "left"); gui_key_bind ( /* right */ "meta2-C", "right"); gui_key_bind ( /* up */ "meta2-A", "up"); + gui_key_bind ( /* ^up */ "meta-Oa", "up_global"); gui_key_bind ( /* down */ "meta2-B", "down"); + gui_key_bind ( /* ^down */ "meta-Ob", "down_global"); gui_key_bind ( /* pgup */ "meta2-5~", "page_up"); gui_key_bind ( /* pgdn */ "meta2-6~", "page_down"); gui_key_bind ( /* F10 */ "meta2-21~", "infobar_clear"); |