Skip to content

fix(overlay): prevent IRIS autocomplete overlay from drawing over command text (also cleanup ghost text) - #178

Merged
versenilvis merged 1 commit into
versenilvis:mainfrom
magnus-rattlehead:fix/autocomplete-overlay-overlap
Oct 17, 2026
Merged

versenilvis merged 1 commit into
versenilvis:mainfrom
magnus-rattlehead:fix/autocomplete-overlay-overlap

Conversation

@magnus-rattlehead

Copy link
Copy Markdown
Contributor

When editing a command, the suggestion overlay can draw on top of the command text, which overwrites the text in the screenbuffer, causing the text to be invisible. These changes prevent this by calculating how many command rows remain below the cursor and rendering the overlay at the row below it. Also applies a fix to ghost text when editing a command

@versenilvis

versenilvis commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

can you take a screenshot or record a video?
I meant I didnt get what this do?

@magnus-rattlehead

magnus-rattlehead commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor Author
2026-10-16.23-19-06.mp4

the "artifact" you see when moving the cursor is unrelated, not sure if worth opening an issue for it

@versenilvis

Copy link
Copy Markdown
Owner

oh ok I got and tested it

@versenilvis
versenilvis merged commit 4c7d665 into versenilvis:main Oct 17, 2026
3 checks passed
versenilvis pushed a commit that referenced this pull request Oct 27, 2026
…180)

Follow-up to #178.

When the prompt is on the bottom row, clearing the suggestion menu can
erase command text because cursor-down movement stops at the screen
edge. Reserve space before clearing so the command stays visible.
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.

2 participants