Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-25 | tests: add tests on GUI buffer functions | Sébastien Helleu | |
Functions tested: - gui_buffer_is_reserved_name - gui_buffer_get_integer - gui_buffer_get_string - gui_buffer_get_pointer | |||
2023-05-04 | api: don't split on newline by default in functions `command` and ↵ | Sébastien Helleu | |
`command_options` when input_multiline is set to 0 The API functions `command` and `command_options` (when `split_newline` = 0, which is the default value) don't split on newline and then the first line is executed and the subsequent lines (after "\n") are ignored. There are no changes when the input has multiple lines filled by the user: the split is done and multiple commands are executed (for example if the user is pasting multiple commands to execute). | |||
2023-03-31 | core: fix key `meta-[O` (unfocus with xterm) (closes #1900) | Sébastien Helleu | |
2023-03-31 | core: remove keys `meta-[I` and `meta-[G` for pgup/pgdn (issue #1900) | Sébastien Helleu | |
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`). | |||
2023-03-25 | tests: add placeholder for function gui_key_paste_finish | Sébastien Helleu | |
2023-03-17 | core: change order of modifiers in mouse keys | Sébastien Helleu | |
Now the modifiers for mouse keys are in the same order as other keys: `alt-` then `ctrl-`. | |||
2023-03-17 | core: fix search of commands with raw code and alias matching | Sébastien Helleu | |
When raw code and alias for a key are both matching, the raw code must always have higher priority. This commit fixes this behavior and gives priority to raw code. | |||
2023-03-17 | core: refactor print of keys in debug mode | Sébastien Helleu | |
Changes: - add function gui_key_debug_print_key - change message "no key" by "no key binding" - remove messages ""insert into input" / "ignored" - add color for delimiters | |||
2023-03-17 | core: display a warning when trying to bind a raw key code or invalid key ↵ | Sébastien Helleu | |
(missing comma) | |||
2023-03-17 | core: check new keys manually added with /set | Sébastien Helleu | |
2023-03-17 | core: remove use of "meta2-" in key name | Sébastien Helleu | |
The raw key code is kept as-is, so for example "meta2-A" becomes "meta-[A". | |||
2023-03-16 | tests: add extra test on function gui_key_legacy_to_alias | Sébastien Helleu | |
2023-03-16 | core: create config options for all keys that can be managed with `/set` and ↵ | Sébastien Helleu | |
`/fset` commands | |||
2023-03-16 | core: fix safe list of keys | Sébastien Helleu | |
Add missing safe keys: "backspace" and "return". Add missing unsafe keys: "comma", "space". | |||
2023-03-16 | core: remove obsolete function gui_key_legacy_expand | Sébastien Helleu | |
2023-03-16 | core: use new key name in command `/key` and configuration file | Sébastien Helleu | |
Legacy keys are automatically converted to new names when loading configuration file `weechat.conf`. Examples: "ctrl-I" => "tab" "meta2-1;3A" => "meta-up" "meta2-Z" => "shift-tab" "meta-wmeta-meta2-A" => "meta-w,meta-up" "ctrl-Cb" => "ctrl-c,b" | |||
2023-03-16 | core: fix function gui_key_legacy_to_alias with keys on areas | Sébastien Helleu | |
2023-03-16 | core: add function to expand raw key code to name with alias, use it in /key ↵ | Sébastien Helleu | |
debug | |||
2023-02-04 | core: optimize search of key bindings in contexts default/search/cursor | Sébastien Helleu | |
2023-02-03 | tests: add tests on function gui_key_cmp | Sébastien Helleu | |
2023-01-29 | core: force ctrl keys to lower case when they are added (closes #1875) | Sébastien Helleu | |
2023-01-29 | tests: add tests on gui key functions (issue #1875) | Sébastien Helleu | |