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 crate::features::FeatureFlag;
use settings::{
macros::define_settings_group, RespectUserSyncSetting, Setting, SupportedPlatforms, SyncToCloud,
};
use warpui::{AppContext, SingletonEntity};
define_settings_group!(LigatureSettings, settings: [
ligature_rendering_enabled: LigatureRenderingEnabled {
type: bool,
default: false,
supported_platforms: SupportedPlatforms::ALL,
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
private: false,
toml_path: "appearance.text.ligature_rendering_enabled",
description: "Whether to render font ligatures in the terminal.",
},
]);
pub fn should_use_ligature_rendering(app: &AppContext) -> bool {
let enabled_in_settings = *LigatureSettings::as_ref(app)
.ligature_rendering_enabled
.value();
enabled_in_settings && FeatureFlag::Ligatures.is_enabled()
}