33 lines
1.3 KiB
Rust
33 lines
1.3 KiB
Rust
use settings::macros::define_settings_group;
|
|
use settings::{RespectUserSyncSetting, Setting, SupportedPlatforms, SyncToCloud};
|
|
|
|
define_settings_group!(AltScreenReporting, settings: [
|
|
mouse_reporting_enabled: MouseReportingEnabled {
|
|
type: bool,
|
|
default: true,
|
|
supported_platforms: SupportedPlatforms::ALL,
|
|
sync_to_cloud: SyncToCloud::Never,
|
|
private: false,
|
|
toml_path: "terminal.mouse_reporting_enabled",
|
|
description: "Whether to forward mouse events to full-screen terminal applications.",
|
|
},
|
|
scroll_reporting_enabled: ScrollReportingEnabled {
|
|
type: bool,
|
|
default: true,
|
|
supported_platforms: SupportedPlatforms::ALL,
|
|
sync_to_cloud: SyncToCloud::Never,
|
|
private: false,
|
|
toml_path: "terminal.scroll_reporting_enabled",
|
|
description: "Whether to forward scroll events to full-screen terminal applications.",
|
|
},
|
|
focus_reporting_enabled: FocusReportingEnabled {
|
|
type: bool,
|
|
default: true,
|
|
supported_platforms: SupportedPlatforms::ALL,
|
|
sync_to_cloud: SyncToCloud::Never,
|
|
private: false,
|
|
toml_path: "terminal.focus_reporting_enabled",
|
|
description: "Whether to forward focus and blur events to full-screen terminal applications.",
|
|
},
|
|
]);
|