Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions app/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2458,6 +2458,15 @@ pub fn enabled_features() -> HashSet<FeatureFlag> {
flags.extend(features::RELEASE_FLAGS);
}

// IME marked text is the only piece of CJK / dead-key Latin / emoji-candidate input
// rendering on macOS — without this flag, `setMarkedText:` calls are short-circuited in
// the terminal view and no preedit is ever drawn, breaking text input for any user with
// an IME enabled. Stable / Preview macOS already enable it via RELEASE_FLAGS, but the
// OSS distribution doesn't pass `feature = "release_bundle"`, so the flag stays off and
// CJK users effectively can't type. Enable it unconditionally on macOS to match.
#[cfg(target_os = "macos")]
flags.insert(FeatureFlag::ImeMarkedText);

flags.extend([
#[cfg(feature = "autoupdate")]
FeatureFlag::Autoupdate,
Expand Down