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

refactor: use x/exp/term for renderer sequences #962

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aymanbagabas
Copy link
Member

@aymanbagabas aymanbagabas commented Mar 22, 2024

This replaces termenv.Output with raw sequences and bytes.Buffer to handle vt screen and cursor events. Also uses ansi.Truncate instead of reflow/truncate

@jmonroynieto
Copy link

The latest version of this package has graduated from experiments. The stable code should be golang.org/x/term. I haven't studied whether there might be breaking changes for the stable package. using an outdated experimental package related to #968

@aymanbagabas
Copy link
Member Author

@jmonroynieto thanks for pointing this out. However, by x/exp/term I mean github.com/charmbracelet/x/exp/term which is a new package that provides terminal utilities built for the Charm stack 🙂

This replaces termenv.Output with raw sequences and a bytes.Buffer to
handle vt screen and cursor events.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants