diff options
| author | user <user@clank> | 2026-08-12 14:09:21 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-12 14:09:21 +0200 |
| commit | ea500ea70aa77da57870e8272bab593887819b0b (patch) | |
| tree | 9e73592f03884dba54c3ff1ab3b5ab41cb9721d6 /zellij-server/src/tab/unit/tab_tests.rs | |
| parent | sl0p(pane-finder): find panes hidden in a stack, not just the visible one (diff) | |
| download | sl0ppij-ea500ea70aa77da57870e8272bab593887819b0b.tar.gz sl0ppij-ea500ea70aa77da57870e8272bab593887819b0b.tar.xz sl0ppij-ea500ea70aa77da57870e8272bab593887819b0b.zip | |
sl0p: separate the hover resize hint from the hover highlight
Upstream's mouse_hover_effects governs two unrelated things: the frame highlight
on hover, and the "Ctrl <MouseScroll> or <drag borders> to resize" hint. Its own
comment in default.kdl admits as much. So silencing a beginner reminder you have
outgrown also costs you a highlight that stays useful indefinitely.
mouse_hover_help_text (default true) gates only the hint. One line in
execute_send_to_terminal; the highlight is set in execute_update_hover and is
untouched.
Config-file only, deliberately. The option has no protobuf slot, so it does not
cross the client/server IPC contract -- the roundtrip test asserts exactly that,
with the fixture set to None and a comment explaining why. It still works from
the config file because the server parses the file itself and Options::merge
keeps the file value when the client sends None; a CLI flag would be silently
ignored.
Diffstat (limited to 'zellij-server/src/tab/unit/tab_tests.rs')
| -rw-r--r-- | zellij-server/src/tab/unit/tab_tests.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zellij-server/src/tab/unit/tab_tests.rs b/zellij-server/src/tab/unit/tab_tests.rs index a3713739..65354069 100644 --- a/zellij-server/src/tab/unit/tab_tests.rs +++ b/zellij-server/src/tab/unit/tab_tests.rs @@ -221,6 +221,7 @@ fn create_new_tab(size: Size, stacked_resize: bool) -> Tab { advanced_mouse_actions, mouse_scroll_resize, true, // mouse_hover_effects + true, // mouse_hover_help_text false, // focus_follows_mouse false, // mouse_click_through web_server_ip, @@ -312,6 +313,7 @@ fn create_new_tab_with_layout(size: Size, layout: TiledPaneLayout) -> Tab { advanced_mouse_actions, mouse_scroll_resize, true, // mouse_hover_effects + true, // mouse_hover_help_text false, // focus_follows_mouse false, // mouse_click_through web_server_ip, @@ -409,6 +411,7 @@ fn create_new_tab_with_cell_size( advanced_mouse_actions, mouse_scroll_resize, true, // mouse_hover_effects + true, // mouse_hover_help_text false, // focus_follows_mouse false, // mouse_click_through web_server_ip, |
