Repository navigation
Revert the Korean Won to backquote mapping - #13312
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (17)
💤 Files with no reviewable changes (15)
📝 WalkthroughWalkthroughRemoved 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)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
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. Comment |
* 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.
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 | plutilpipeline, 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.dictremap 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 🐋