mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-21 23:54:57 +00:00
Keep the IME anchor following the cursor when child output moves it
Key presses update the IME position, but cursor motion caused by child output, such as the echo of committed text, did not. The next composition then started with a stale anchor and its candidate window briefly appeared at the old position before jumping to the cursor. Once an IME composition has been seen, push the cursor position to the IME whenever it changes outside a composition in the active window of the focused OS window. Nothing extra happens until an IME is used, and there is no timer, so no feedback loop with GNOME's done events. Closes #10644
This commit is contained in:
parent
0a9c1f0112
commit
2414d64e67
7 changed files with 49 additions and 5 deletions
|
|
@ -297,6 +297,10 @@ Detailed list of changes
|
|||
its end, so that it no longer jumps horizontally while composing text
|
||||
(:pull:`10642`)
|
||||
|
||||
- IME: Keep the candidate window anchored at the cursor when program output
|
||||
moves it, so it no longer briefly appears at the previous position at the
|
||||
start of the next composition (:pull:`10644`)
|
||||
|
||||
- Fix closing an unfocused window that comes before the focused window in the
|
||||
layout sometimes moving focus to a different window
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue