mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 22:36:38 +02:00
core: remove keys meta-[I and meta-[G for pgup/pgdn (issue #1900)
It seems no terminal return such codes any more for pgup/pgdn, and `meta-[I` is conflicting with the xterm terminal "focus in" key code. The keys are also removed from config when converting old keys, but only if they are bound to the default command (`/window page_up` for `meta2-I` and `/window page_down` for `meta2-G`).
This commit is contained in:
@@ -661,12 +661,8 @@ gui_key_expand (const char *key, char **key_name, char **key_name_alias)
|
||||
}
|
||||
else if (key[0] == 'F')
|
||||
snprintf (str_alias, sizeof (str_alias), "end");
|
||||
else if (key[0] == 'G')
|
||||
snprintf (str_alias, sizeof (str_alias), "pgdn");
|
||||
else if (key[0] == 'H')
|
||||
snprintf (str_alias, sizeof (str_alias), "home");
|
||||
else if (key[0] == 'I')
|
||||
snprintf (str_alias, sizeof (str_alias), "pgup");
|
||||
else if (key[0] == 'P')
|
||||
snprintf (str_alias, sizeof (str_alias), "f1");
|
||||
else if (key[0] == 'Q')
|
||||
|
||||
Reference in New Issue
Block a user