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

fix: enable OPOST when initializing the terminal #1006

Closed
wants to merge 1 commit into from
Closed

Conversation

aymanbagabas
Copy link
Member

Before switching to golang/term for terminal handling, we used containerd/console. Which by default, uses Termios OPOST when setting the terminal to raw mode. This is needed because we need to post process output to render the terminal correctly.

This also switches to using charmbracelet/x/exp/term since golang/term doesn't allow setting a custom Termios settings.

Fixes: #1000
Fixes: 4624106 (feat: reduce console/term dependencies (#897))

Before switching to golang/term for terminal handling, we used
containerd/console. Which by default, uses Termios OPOST when setting
the terminal to raw mode. This is needed because we need to post process
output to render the terminal correctly.

This also switches to using charmbracelet/x/exp/term since golang/term
doesn't allow setting a custom Termios settings.

Fixes: #1000
Fixes: 4624106 (feat: reduce console/term dependencies (#897))
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.

First line not rendering until event happens
1 participant