diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/gui/curses/gui-display.c | 1 | ||||
-rw-r--r-- | src/gui/curses/gui-input.c | 9 | ||||
-rw-r--r-- | weechat/ChangeLog | 3 | ||||
-rw-r--r-- | weechat/src/gui/curses/gui-display.c | 1 | ||||
-rw-r--r-- | weechat/src/gui/curses/gui-input.c | 9 |
6 files changed, 16 insertions, 10 deletions
@@ -1,10 +1,11 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2004-08-10 +ChangeLog - 2004-08-25 Version 0.0.8 (under dev!): + * added key for redrawing terminal (Ctrl-L) * added key for clearing hotlist (Alt-R) Version 0.0.7 (2004-08-08): diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c index 311b18b4c..7885e7bf4 100644 --- a/src/gui/curses/gui-display.c +++ b/src/gui/curses/gui-display.c @@ -1372,7 +1372,6 @@ gui_curses_resize_handler () gui_current_window = old_current_window; gui_calculate_pos_size (gui_current_window); gui_redraw_buffer (gui_current_window->buffer); - //gui_draw_buffer_input (gui_current_window->buffer, 1); } /* diff --git a/src/gui/curses/gui-input.c b/src/gui/curses/gui-input.c index 8a501df02..1b78cb556 100644 --- a/src/gui/curses/gui-input.c +++ b/src/gui/curses/gui-input.c @@ -60,8 +60,7 @@ gui_read_keyb () { /* resize event */ case KEY_RESIZE: - gui_calculate_pos_size (gui_current_window); - gui_redraw_buffer (gui_current_window->buffer); + gui_curses_resize_handler (); break; /* inactive function keys */ case KEY_F(1): @@ -201,6 +200,10 @@ gui_read_keyb () case 0x08: gui_delete_previous_word (gui_current_window->buffer); break; + /* Control + L */ + case 0x0C: + gui_curses_resize_handler (); + break; /* erase char under cursor */ case KEY_DC: if (gui_current_window->buffer->input_buffer_pos < @@ -398,7 +401,7 @@ gui_read_keyb () /* other key => add to input buffer */ default: /*gui_printf (gui_current_window->buffer, - "[Debug] key pressed = %d, as octal: %o\n", key, key);*/ + "[Debug] key pressed = %d, hex = %02X, octal = %o\n", key, key, key);*/ new_char[0] = key; new_char[1] = '\0'; gui_buffer_insert_string (gui_current_window->buffer, diff --git a/weechat/ChangeLog b/weechat/ChangeLog index 21716f676..95f06b03f 100644 --- a/weechat/ChangeLog +++ b/weechat/ChangeLog @@ -1,10 +1,11 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2004-08-10 +ChangeLog - 2004-08-25 Version 0.0.8 (under dev!): + * added key for redrawing terminal (Ctrl-L) * added key for clearing hotlist (Alt-R) Version 0.0.7 (2004-08-08): diff --git a/weechat/src/gui/curses/gui-display.c b/weechat/src/gui/curses/gui-display.c index 311b18b4c..7885e7bf4 100644 --- a/weechat/src/gui/curses/gui-display.c +++ b/weechat/src/gui/curses/gui-display.c @@ -1372,7 +1372,6 @@ gui_curses_resize_handler () gui_current_window = old_current_window; gui_calculate_pos_size (gui_current_window); gui_redraw_buffer (gui_current_window->buffer); - //gui_draw_buffer_input (gui_current_window->buffer, 1); } /* diff --git a/weechat/src/gui/curses/gui-input.c b/weechat/src/gui/curses/gui-input.c index 8a501df02..1b78cb556 100644 --- a/weechat/src/gui/curses/gui-input.c +++ b/weechat/src/gui/curses/gui-input.c @@ -60,8 +60,7 @@ gui_read_keyb () { /* resize event */ case KEY_RESIZE: - gui_calculate_pos_size (gui_current_window); - gui_redraw_buffer (gui_current_window->buffer); + gui_curses_resize_handler (); break; /* inactive function keys */ case KEY_F(1): @@ -201,6 +200,10 @@ gui_read_keyb () case 0x08: gui_delete_previous_word (gui_current_window->buffer); break; + /* Control + L */ + case 0x0C: + gui_curses_resize_handler (); + break; /* erase char under cursor */ case KEY_DC: if (gui_current_window->buffer->input_buffer_pos < @@ -398,7 +401,7 @@ gui_read_keyb () /* other key => add to input buffer */ default: /*gui_printf (gui_current_window->buffer, - "[Debug] key pressed = %d, as octal: %o\n", key, key);*/ + "[Debug] key pressed = %d, hex = %02X, octal = %o\n", key, key, key);*/ new_char[0] = key; new_char[1] = '\0'; gui_buffer_insert_string (gui_current_window->buffer, |