summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-window.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-07-15 18:06:56 +0000
committerSebastien Helleu <flashcode@flashtux.org>2007-07-15 18:06:56 +0000
commit3b48025071bff1e175bfe4778f2400d35fc0406e (patch)
tree32e458bade3b1fcc0848ff31242c249b75896040 /src/gui/curses/gui-curses-window.c
parentfeec343ffb74b2e317b89b0af2276320a9211b0c (diff)
downloadweechat-3b48025071bff1e175bfe4778f2400d35fc0406e.zip
Added key function "jump_previous_buffer" to jump to buffer previously displayed (new key: alt-J + alt-P) (task #7085)
Diffstat (limited to 'src/gui/curses/gui-curses-window.c')
-rw-r--r--src/gui/curses/gui-curses-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index 19a9bdc02..a70017d3b 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -448,6 +448,7 @@ gui_window_switch_to_buffer (t_gui_window *window, t_gui_buffer *buffer)
window->buffer->last_read_line = window->buffer->last_line;
if (buffer->last_read_line == buffer->last_line)
buffer->last_read_line = NULL;
+ gui_previous_buffer = window->buffer;
}
window->buffer = buffer;