From e1f796d053cdb79f0c2f355290281c6b752c5aba Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Sat, 20 Jul 2019 13:39:21 +0200 Subject: [PATCH] ALT+LEFT/RIGHT should be global --- ncdc/src/keycodes.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/ncdc/src/keycodes.c b/ncdc/src/keycodes.c index 3ef8aa0..68a8f8b 100644 --- a/ncdc/src/keycodes.c +++ b/ncdc/src/keycodes.c @@ -40,19 +40,16 @@ ncdc_keybinding_t keys_guilds[] = { }; ncdc_keybinding_t keys_chat[] = { - /* ALT+KEY_RIGHT - */ - NCDC_BINDING(L"\x1B[1;3C", L"right-window", ncdc_mainwindow_rightview), - NCDC_BINDING(L"\x1B0C", L"right-window", ncdc_mainwindow_rightview), - /* ALT+KEY_LEFT - */ - NCDC_BINDING(L"\x1B[1;3D", L"left-window", ncdc_mainwindow_leftview), - NCDC_BINDING(L"\x1B0D", L"left-window", ncdc_mainwindow_leftview), - NCDC_BINDEND() }; ncdc_keybinding_t keys_global[] = { + /* ALT+KEY_RIGHT + */ + NCDC_BINDING(L"\x1B[1;3C", L"right-window", ncdc_mainwindow_rightview), + /* ALT+KEY_LEFT + */ + NCDC_BINDING(L"\x1B[1;3D", L"left-window", ncdc_mainwindow_leftview), /* F1 */ NCDC_BINDING(L"\x1BOP", L"select-input", ncdc_mainwindow_switch_input),