aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorKataoka Katsuki <49934462+kataokatsuki@users.noreply.github.com>2026-08-10 20:34:51 +0900
committerGitHub <noreply@github.com>2026-08-10 14:34:51 +0300
commit2e8cc9060d723a5ac32a2325e695fd8750ff60fe (patch)
tree855d878ee68f8aed7249c3fa08ec00e1f5d62b0c /src/api
parent6c6ddcd49384d6ea9f0ee2e63bf7b2643dfd5bcf (diff)
fix(ui): anchor the host cursor to modal name inputs (#2569)
* fix(ui): anchor the host cursor to modal name inputs IMEs draw their composition preview at the host terminal cursor. The rename and new-worktree dialogs drew a block glyph instead of setting one, so the frame carried no cursor and the client kept the position the focused pane last reported. Japanese composition appeared behind the dialog and only reached the field on Enter. Set the cursor to the caret column instead, counting wide characters as two cells. refs #1755 * fix(ui): keep the clamped caret cell blank A name that fills the field left the clamped caret sitting on the last rendered glyph. A terminal inverts the cell under its cursor and an IME composes there, so the glyph was hidden and composition overlapped it. Render the text one column short of the field. The field is still cleared in full, so the clamped caret always lands on a blank cell. refs #1755 --------- Co-authored-by: kataokatsuki <kataokatsuki@users.noreply.github.com> Co-authored-by: Can Celik <ogulcancelik@gmail.com>
Diffstat (limited to 'src/api')
0 files changed, 0 insertions, 0 deletions