Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cellbuf new acurses renderer #299

Merged
merged 44 commits into from
Dec 9, 2024
Merged

Cellbuf new acurses renderer #299

merged 44 commits into from
Dec 9, 2024

Conversation

aymanbagabas
Copy link
Member

No description provided.

This will use vt100 sequences when the terminal is not xterm-like and
xterm and ECMA-48 sequences when it is.
With this change, `cellbuf.Screen` manages alternate screen buffer and
cursor visibility. The `Screen` struct now has `EnterAltScreen`,
`ExitAltScreen`, `ShowCursor`, and `HideCursor` methods. The `Screen`
struct also has `SetRelativeCursor` method to set relative cursor
movements which is used in inline mode.
This method allows inserting strings above the screen. The inserted
strings are not managed by the screen and are not part of the buffer.
Otherwise, we might incorrectly append to the queue while it's being
processed.
@aymanbagabas aymanbagabas merged commit cdc294c into main Dec 9, 2024
9 of 10 checks passed
@aymanbagabas aymanbagabas deleted the cellbuf/window2 branch December 9, 2024 20:24
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