Korean IME composition (marked) text renders at bottom of screen instead of at the input position
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Bereich
- cli, internationalization
Rechercherichtung
Beginne damit, das Problem über den cmd-Einstiegspunkt in der TUI mit der koreanischen macOS-IME nachzustellen, und verfolge dann die im Bericht beschriebene Prompt-Eingabe und Hardware-Cursor-Behandlung. Als erledigt gilt es, wenn die markierte koreanische, japanische und chinesische Komposition an der Position des Eingabecursors erscheint, während der übernommene Text korrekt bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
When typing Korean text with the macOS built-in Korean input source (2-Set Hangul), the in-progress IME composition (marked text) is rendered at the bottom of the terminal screen instead of at the prompt input position. This affects all CJK input methods that rely on inline composition and makes Korean input hard to use, since the user cannot see the composing characters next to the text already entered in the input box.
Expected Behavior
The IME composition (marked) text should appear inline at the input cursor position, inside the prompt input box — i.e. the TUI should move the hardware terminal cursor to the input position while composing so the terminal emulator renders the composition view there.
Actual Behavior
The composition string appears at the bottom-left area of the screen, detached from the input box. After the composition is committed, the finalized text correctly appears in the input box — only the in-progress composition is misplaced. This suggests the TUI never repositions the hardware cursor to the input field (no cursor positioning during input), so the terminal emulator draws its IME composition view wherever the cursor happens to be parked.
Steps to reproduce the issue
- On macOS, enable the Korean input source (System Settings > Keyboard > Input Sources > Korean - 2-Set Hangul).
- Start
cmdin a terminal (reproduced in the Orca embedded terminal; likely affects other terminals as well). - Switch to the Korean input source and type any Korean syllable, e.g. press
gks(한) slowly without committing. - Observe that the composing character appears at the bottom of the screen rather than in the input box.
Environment
- Command Code Version: 0.52.1
- Operating System: macOS 26.5.2 (arm64)
- Terminal: Orca (embedded terminal)
- Shell: zsh (/bin/zsh)
Additional context
- Reproduces with the stock macOS Korean IME; no third-party IME involved.
- The same inline-composition mechanism is used by Japanese and Chinese input methods, so those users are likely affected too.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 4k
- Forks
- 350
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CommandCodeAI/command-code
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/command-code#855 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
CommandCodeAI/command-code#841 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/command-code#655 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/command-code#608 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 70/100
CommandCodeAI/command-code#893 ·
Alle Issues in CommandCodeAI/command-code
Ähnliche Issues
-
area: compat bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
area: dogs bug priority: P3 silent failure test-code
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
phoenixframework/phoenix#6847 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
hust-open-atom-club/hustmirror-cli#52 · 1 Kommentar ·