Skip to content

Revert the Korean Won to backquote mapping - #13312

Merged
nwparker merged 4 commits into
mainfrom
nwparker/revert-korean-won
Aug 9, 2026
Merged

nwparker merged 4 commits into
mainfrom
nwparker/revert-korean-won

Conversation

@nwparker

@nwparker nwparker commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Reverts #13104 and its three follow-ups (#13181, #13182, #13283).

We went looking for prior art and found none. Across six terminal emulators and editors, zero implement a ₩→backquote remap. The only two hits were a keyboard-layout table describing what macOS emits, and an unrelated ML tokenizer vocabulary.

That layout table is also the reason nobody implements it: on a Korean 2-Set layout, Backquote is ['₩', '~', '', '~']` — backtick is already there, at Option+Backquote. The OS leaves no gap.

The JIS Yen sibling is genuinely different and stays: on a JIS keyboard the ¥ key has no native route to a backslash at all, which is why other terminals do implement that one.

This also removes the input-source probe the mapping needed — a defaults export | plutil | plutil pipeline, four processes per refresh, which existed only to answer "is a Korean source active right now?".

Reverted rather than kept behind a default-off setting because the underlying report (#11170) is a different bug, and one we should fix properly instead: a user's ~/Library/KeyBindings/DefaultKeyBinding.dict remap is honoured everywhere in macOS — Safari, Chrome, native apps, this app's own text inputs — and ignored only in the terminal. That is worth fixing on its own terms.

Verified: typecheck clean, 397 files / 4187 tests pass, reliability gates 73/73, no references to the removed module remain.

Made with Orca 🐋

@nwparker
nwparker requested a review from brennanb2025 as a code owner August 9, 2026 07:24
@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 550e4555-654e-49a4-9435-d531613a94bd

📥 Commits

Reviewing files that changed from the base of the PR and between 78f434d and e68fd88.

📒 Files selected for processing (17)
  • src/main/codex-accounts/runtime-home-service.test.ts
  • src/main/codex-accounts/service.test.ts
  • src/renderer/src/components/settings/TerminalMacKeyboardSection.tsx
  • src/renderer/src/components/settings/terminal-advanced-platform-search.ts
  • src/renderer/src/components/settings/terminal-search.test.ts
  • src/renderer/src/components/settings/terminal-search.ts
  • src/renderer/src/components/terminal-pane/TerminalPane.tsx
  • src/renderer/src/components/terminal-pane/keyboard-handlers-korean-prefetch-gate.test.tsx
  • src/renderer/src/components/terminal-pane/keyboard-handlers.ts
  • src/renderer/src/components/terminal-pane/terminal-korean-won-input.test.ts
  • src/renderer/src/components/terminal-pane/terminal-korean-won-input.ts
  • src/renderer/src/components/terminal-pane/use-terminal-pane-lifecycle.ts
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/lib/keyboard-layout/korean-input-source.test.ts
  • src/renderer/src/lib/keyboard-layout/korean-input-source.ts
  • src/shared/constants.ts
  • src/shared/types.ts
💤 Files with no reviewable changes (15)
  • src/shared/constants.ts
  • src/renderer/src/components/settings/TerminalMacKeyboardSection.tsx
  • src/renderer/src/components/terminal-pane/terminal-korean-won-input.test.ts
  • src/renderer/src/components/settings/terminal-search.test.ts
  • src/renderer/src/components/terminal-pane/TerminalPane.tsx
  • src/renderer/src/components/terminal-pane/use-terminal-pane-lifecycle.ts
  • src/main/codex-accounts/service.test.ts
  • src/renderer/src/components/settings/terminal-advanced-platform-search.ts
  • src/renderer/src/lib/keyboard-layout/korean-input-source.test.ts
  • src/renderer/src/lib/keyboard-layout/korean-input-source.ts
  • src/main/codex-accounts/runtime-home-service.test.ts
  • src/renderer/src/components/terminal-pane/terminal-korean-won-input.ts
  • src/shared/types.ts
  • src/renderer/src/components/terminal-pane/keyboard-handlers.ts
  • src/renderer/src/components/terminal-pane/keyboard-handlers-korean-prefetch-gate.test.tsx

📝 Walkthrough

Walkthrough

Removed the Korean Won-to-backquote setting from shared settings, test fixtures, renderer settings controls, search catalogs, and localization. Removed Korean input-source detection and prefetching from terminal keyboard handling. Deleted the Korean Won input conversion module and its related tests, lifecycle integration, and search tests. Retained the other macOS terminal keyboard mappings.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the change and verification, but it omits the required Screenshots, Testing, AI Review Report, Security Audit, and Notes sections. Add all required template sections, including testing results, cross-platform AI review, security audit findings, screenshots or “No visual change,” and relevant notes.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the primary change: removing the Korean Won-to-backquote mapping.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit c6ded16 into main Aug 9, 2026
45 checks passed
@nwparker
nwparker deleted the nwparker/revert-korean-won branch August 9, 2026 07:44
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Revert "fix(terminal): detach the Korean input-source probe when its setting goes off (stablyai#13283)"

This reverts commit 4b8d3e9.

* Revert "fix(terminal): stop the Korean gate caching an unknown input source as negative (stablyai#13182)"

This reverts commit d7061e0.

* Revert "perf(terminal): gate the Korean input-source probe on its setting (stablyai#13181)"

This reverts commit 0712e9a.

* Revert "feat(terminal): Korean Won (₩) → backquote key mapping for Korean keyboards (stablyai#13104)"

This reverts commit eee48f8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant