diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-12 12:50:55 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-17 18:52:30 +0100 |
commit | c1db5c954966e55096488edf887191b64148212a (patch) | |
tree | 3f829a0ef88de5731b2fce837d8eadb9cf2afb8b /tests/unit/gui | |
parent | a54663d60caf9ec629317c784daa909e38b7ae97 (diff) | |
download | weechat-c1db5c954966e55096488edf887191b64148212a.zip |
core: refactor print of keys in debug mode
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
Diffstat (limited to 'tests/unit/gui')
-rw-r--r-- | tests/unit/gui/test-gui-key.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/unit/gui/test-gui-key.cpp b/tests/unit/gui/test-gui-key.cpp index 5596279a4..447a8e163 100644 --- a/tests/unit/gui/test-gui-key.cpp +++ b/tests/unit/gui/test-gui-key.cpp @@ -1441,6 +1441,16 @@ TEST(GuiKey, Focus) /* * Tests functions: + * gui_key_debug_print_key + */ + +TEST(GuiKey, DebugPrintKey) +{ + /* TODO: write tests */ +} + +/* + * Tests functions: * gui_key_pressed */ |