[BUG] IME (ATOK) candidate window overlaps input area on Windows Terminal
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When typing Japanese text using ATOK IME in Claude Code's input prompt, the IME candidate/conversion window overlaps with the input area, making it difficult to see what is being typed.
What Should Happen?
The IME candidate window should appear directly above or below the input cursor without overlapping the input text, as it does in normal terminal input (outside of Claude Code's TUI).
Error Messages/Logs
Steps to Reproduce
- Launch Claude Code in Windows Terminal on Windows 11
- Switch to ATOK (Japanese IME)
- Type Japanese text requiring conversion (e.g. "かんきょう" → "環境")
- Observe the position of the IME candidate window
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.191 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
- Windows 11 26H2 (Build 26300)
- Windows Terminal 1.24.11321.0
- IME: ATOK (JustSystems)
- The same issue likely occurs with MS-IME and Google Japanese Input, as the root cause appears to be Claude Code's TUI (React Ink) hiding the real terminal cursor position from the OS IME subsystem.
- Related issues: #1547, #25186, #19207, #35307
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/63091
- https://github.com/anthropics/claude-code/issues/61385
- https://github.com/anthropics/claude-code/issues/35307
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
Not a duplicate. All three referenced issues are closed:
- #63091 — auto-closed as a duplicate of #61385
- #61385 — closed as fixed by a collaborator (bogini, 2026-05-27)
- #35307 — auto-closed as stale/inactive, then locked
If the fix merged for #61385 fully resolved this class of bug, I should not be seeing it on v2.1.191. This is either a regression or an incomplete fix.
Additionally, #61385 was specifically about the Agent View → session transition path. My report is about normal interactive input — no Agent View involved.
Since all three issues are closed (and #35307 is locked), there is no existing open issue to upvote. This issue serves as a fresh repro on the latest version.
Still reproducing on Claude Code 2.1.220 (Windows Terminal, ATOK) -- same overlap between the IME candidate window and the input area as originally described. Flagging this to prevent stale auto-close; the fix in #61385 was specific to the Agent View to session transition path and doesn't cover this normal interactive-input case.
Additional data point on the root cause: on Windows Terminal (Claude Code 2.1.238, ATOK), the candidate window's vertical position tracks the caret correctly (confirmed across different rows). However, the horizontal position is stuck at the terminal's left edge (column 0) regardless of caret column — reproduced by typing a long line of digits and triggering the emoji/candidate palette mid-line; the popup rendered flush-left while vertically aligned with the input row.
This is narrower than the "real cursor fully hidden, falls back to (0,0)" explanation in the issue body — Y is not falling back, only X is. Might point at a column-calculation bug specific to Windows/ConPTY (e.g. wide-character width miscount in the column offset, or the column component of the cursor-position escape sequence not being emitted/interpreted correctly) rather than the cursor being hidden entirely.
Correction to my 2026-08-21 comment above: I had the direction backwards, sorry.
Re-tested more carefully with a screenshot this time. The caret stays on the actual input line while typing (pre-conversion romaji, e.g. typing "こうほうぃんどう"), but the candidate window is offset vertically by roughly one line upward from the caret's row, so it ends up overlapping the text being typed on the input line itself, rather than appearing cleanly below it.
The horizontal (X) position roughly tracks the caret column -- it is not stuck at column 0 as I previously reported.
So the corrected characterization is: a roughly one-line vertical (Y) offset upward causing the candidate window to overlap the in-progress input text, not a horizontal offset. This is the opposite of what I described in my previous comment -- apologies for the bad data point.
Follow-up: I believe the root cause here is actually in Windows Terminal, not Claude Code / Ink's cursor reporting.
- microsoft/terminal#20318 describes the exact same symptom (IME candidate window overlapping the input line) for CJK IMEs, and multiple commenters there report it starting once they began using Claude Code — matching the pattern in this issue.
- The fix, microsoft/terminal#20627, was merged into
mainon 2026-09-01. The PR description explicitly notes the bug reproduces with plain shell / tmux / Claude Code alike before the fix, and is resolved for all of them after — i.e. Claude Code is not the cause, just a workload that happens to trigger the underlying Windows Terminal bug (prompt near the bottom of the screen, and/or multi-monitor setups). - I confirmed this locally: switching to Windows Terminal Canary (which already has the fix) eliminates the overlap when using Claude Code + ATOK, while Stable/Preview (both still on the pre-fix build as of today) continue to show it.
Given this, I'm closing this as not planned — the fix needs to land in Windows Terminal (tracked at microsoft/terminal#20318), not here. Thanks for reading, and apologies for the earlier incorrect coordinate analysis I posted on this thread.
For anyone still hitting this on Windows Terminal Stable/Preview: as noted above, the real fix is microsoft/terminal#20627. It was merged to main on 2026-09-01 and picked into the release-1.25 branch on 2026-09-08, but it is not in any Stable or Preview release yet — the latest are 1.24.11911.0 / 1.25.1912.0, both from 2026-07-16. Canary already has it.
This is only a stopgap until a Windows Terminal update actually fixes it (the next release may or may not include the fix). Until then, I made a small workaround: a plain Win32 input box that stays docked right under the Windows Terminal window. You type there, so the IME candidate window appears where it should, and Enter pastes the text into the active tab and submits it.
https://github.com/Rurimpa/terminal-japanese-input-pad (Python / tkinter, MIT, Windows only. Tested with Google Japanese Input only.)
(日本語)Windows Terminal の更新で直るまでのつなぎです(次の更新で直るかはまだ分かりません)。直るまでの間、Windows Terminal の窓のすぐ下に常設する入力窓を作りました。そこで打てば変換候補が文字に重ならず、Enter で元のタブへ貼り付けて送信します。
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.