Initial public release of Warp.

Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
David Stern
2026-04-28 08:43:33 -05:00
commit 0dbd3d567a
4982 changed files with 1431549 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
use std::time::Duration;
use settings::{
macros::define_settings_group, RespectUserSyncSetting, SupportedPlatforms, SyncToCloud,
};
define_settings_group!(UndoCloseSettings, settings: [
enabled: UndoCloseEnabled {
type: bool,
default: true,
supported_platforms: SupportedPlatforms::ALL,
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
private: false,
toml_path: "general.undo_close.enabled",
description: "Whether the undo close feature is enabled.",
},
grace_period: UndoCloseGracePeriod {
type: Duration,
default: Duration::from_secs(60),
supported_platforms: SupportedPlatforms::ALL,
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
private: false,
toml_path: "general.undo_close.grace_period",
description: "How long after closing a tab you can still undo the close.",
},
]);