pi-mono icon indicating copy to clipboard operation
pi-mono copied to clipboard

sync real cursor to fake cursor position in editor/input

Open ghoulr opened this issue 1 week ago • 5 comments

Fixed IME candidate window positioning by moving the real terminal cursor to follow the fake cursor.

The problem of #491 is when a huge chunk of content is renderred, the fake cursor position will be occasional mis-tracked, add a DSR cursor query after render to force move the real cursor to right place will solve it. But... this will messup all the non inputable cursor interactive like settings navigation, so, add a gate for only editor and input cursor.

Play around with this new behavier for an afternoon, burned out 20% weekly tokens of codex, not trigger any TUI disaster yet, so here we are, lucky for our CJK people.

ghoulr avatar Jan 07 '26 10:01 ghoulr