summaryrefslogtreecommitdiff
path: root/src/client/loop_config.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-06 02:27:06 +0300
committerGitHub <noreply@github.com>2026-09-06 02:27:06 +0300
commit9e9bc8a144667a6b7debfd4f0c7a31ff0e11493a (patch)
tree03f1259f91fd9edeacfd4b904f2e84d4acf25232 /src/client/loop_config.rs
parent35b0dff96579f099e0436290085024424ffb289c (diff)
feat: manage multiple ssh machines from one client (#3670)
Diffstat (limited to 'src/client/loop_config.rs')
-rw-r--r--src/client/loop_config.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/client/loop_config.rs b/src/client/loop_config.rs
new file mode 100644
index 00000000..53ef9f38
--- /dev/null
+++ b/src/client/loop_config.rs
@@ -0,0 +1,16 @@
+use super::*;
+
+pub(super) struct ClientLoopConfig {
+ pub(super) sound_config: crate::config::SoundConfig,
+ pub(super) mouse_scroll_lines: usize,
+ pub(super) redraw_on_focus_gained: bool,
+ pub(super) host_cursor: crate::config::HostCursorModeConfig,
+ pub(super) kitty_graphics_enabled: bool,
+ pub(super) pixel_geometry_enabled: bool,
+ pub(super) pixel_geometry_fallback: bool,
+ pub(super) mouse_capture_active: bool,
+ pub(super) endpoint_keybindings: bool,
+ pub(super) remote_image_paste_key:
+ Option<(crossterm::event::KeyCode, crossterm::event::KeyModifiers)>,
+ pub(super) shell_config: Option<shell::ClientShellConfig>,
+}