Skip to content

Fix Unicode input and terminal display - #469

Open
sunao1222 wants to merge 2 commits into
osa1:masterfrom
sunao1222:fix/unicode-input-display
Open

sunao1222 wants to merge 2 commits into
osa1:masterfrom
sunao1222:fix/unicode-input-display

Conversation

@sunao1222

Copy link
Copy Markdown

Summary

  • Handle wide and combining characters in input, completion, wrapping, and terminal rendering.
  • Preserve UTF-8 split across reads, avoid submitting incomplete multiline paste, and prevent oversized tabs from freezing on resize.
  • Document the Unicode scalar editing and ambiguous-width behavior.

Validation

  • This branch includes Unicode input and rendering tests.
  • Tests were not rerun while opening this pull request.

Use terminal column widths for rendering, wrapping and cursor placement while preserving scalar-based editing and combining characters.

Retain incomplete UTF-8 reads and redraw the terminal after resize.
Keep split multiline input from sending early, retain combining marks in completion and message boundaries, and handle oversized tabs during resize.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant