You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix incorrect IME input window positioning when "multiline input + specific conditions" occur (#45)
* Code review fixes.
More IME fixes
Checkpoint.
Cursor simplifications
Remove enableImeCursor and move the cursor to the appropriate
location without making the cursor be visible.
Gemini CLI will continue to render its own cursor so there is no need
to show the cursor as that introduces visual artifacts. Gemini CLI does
however need the cursor position to be at the correct location so IME
input works as expected.
Fixes for incremental updates in non-alternate buffer mode and tests.
* fix: improve cursor position calculation in wrapped text with dropped spaces
- Rename currentLineStartOffset to previousLineEndOffset for clearer semantics
- Add early exit to avoid unnecessary iteration
- Keep cursor at end of previous line instead of jumping to next line in gap area
- Add comments for code clarity
* fix: handle cursor position when first line is empty
* merge: master - 3aef965
---------
Co-authored-by: jacob314 <jacob314@gmail.com>
0 commit comments