From 3b48025071bff1e175bfe4778f2400d35fc0406e Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 15 Jul 2007 18:06:56 +0000 Subject: Added key function "jump_previous_buffer" to jump to buffer previously displayed (new key: alt-J + alt-P) (task #7085) --- src/gui/curses/gui-curses-window.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/curses/gui-curses-window.c') 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; -- cgit v1.2.3