diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2004-07-10 07:39:06 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2004-07-10 07:39:06 +0000 |
commit | ab393805fbe5ff4d77f5ad326cff12568bc661e2 (patch) | |
tree | 58f0b515c145db3532a0412b6bb40aeadf24134a /src | |
parent | dea586e5f1d2429c2409fbdc0ffd87db6881c895 (diff) | |
download | weechat-ab393805fbe5ff4d77f5ad326cff12568bc661e2.zip |
Alt-0 now switches to buffer #10
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/curses/gui-input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/curses/gui-input.c b/src/gui/curses/gui-input.c index e56bbd038..6ca895220 100644 --- a/src/gui/curses/gui-input.c +++ b/src/gui/curses/gui-input.c @@ -330,6 +330,7 @@ gui_read_keyb () } break; /* Alt-number */ + case 48: /* Alt-0 */ case 49: /* Alt-1 */ case 50: /* Alt-2 */ case 51: /* Alt-3 */ @@ -339,7 +340,7 @@ gui_read_keyb () case 55: /* Alt-7 */ case 56: /* Alt-8 */ case 57: /* Alt-9 */ - gui_switch_to_buffer_by_number (gui_current_window, key - 48); + gui_switch_to_buffer_by_number (gui_current_window, (key == 48) ? 10 : key - 48); break; /* Alt-A */ case 'a': |