diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-08-03 02:05:27 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-03 02:05:27 +0300 |
| commit | 10eb0bc744165ae91dfce9fd731fe170410b34ec (patch) | |
| tree | 8622d429d9453c2e8d06630322804a702973d94a /src/app/input/mouse.rs | |
| parent | cbc31d34a1fb3da64415737de57ad10fe6af5ba5 (diff) | |
fix: propagate host color scheme to pane apps (#2214)
refs #714
Diffstat (limited to 'src/app/input/mouse.rs')
| -rw-r--r-- | src/app/input/mouse.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/input/mouse.rs b/src/app/input/mouse.rs index 2c32c95a..d43dcfc4 100644 --- a/src/app/input/mouse.rs +++ b/src/app/input/mouse.rs @@ -2945,6 +2945,7 @@ mod tests { 80, app.state.pane_scrollback_limit_bytes, app.state.host_terminal_theme, + app.state.host_terminal_appearance, crate::pane::PaneShellConfig::new(&app.state.default_shell, app.state.shell_mode), app.event_tx.clone(), app.render_notify.clone(), @@ -3373,6 +3374,7 @@ mod tests { mouse_protocol_encoding: crate::input::MouseProtocolEncoding::Sgr, mouse_alternate_scroll: true, modify_other_keys: false, + color_scheme_reporting: false, }; assert_eq!(wheel_routing(input_state), WheelRouting::MouseReport); @@ -4049,6 +4051,7 @@ mod tests { mouse_protocol_encoding: crate::input::MouseProtocolEncoding::Default, mouse_alternate_scroll: true, modify_other_keys: false, + color_scheme_reporting: false, }; assert_eq!(wheel_routing(input_state), WheelRouting::AlternateScroll); @@ -4065,6 +4068,7 @@ mod tests { mouse_protocol_encoding: crate::input::MouseProtocolEncoding::Default, mouse_alternate_scroll: true, modify_other_keys: false, + color_scheme_reporting: false, }; assert_eq!(wheel_routing(input_state), WheelRouting::HostScroll); |
