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

Buffer update glitch on overflowed events #2

Open
keesvv opened this issue Jan 23, 2021 · 0 comments
Open

Buffer update glitch on overflowed events #2

keesvv opened this issue Jan 23, 2021 · 0 comments
Labels
bug Something isn't working client Issues regarding the TUI client
Projects

Comments

@keesvv
Copy link
Member

keesvv commented Jan 23, 2021

When the buffer reaches the last line before the prompt, the tcell.Screen instance does not update correctly without s.Sync() being explicitly called. This operation causes the terminal to occasionally tear up, which is not the intended behaviour.

Instead of managing the buffer by myself, it might be a better idea to use tcell's built-in tcell/views package for managing virtual screens/buffers. This also allows for vertical (and possibly even horizontal) scrolling.

@keesvv keesvv added bug Something isn't working client Issues regarding the TUI client labels Jan 23, 2021
@keesvv keesvv added this to To do in Roadmap Jan 24, 2021
@keesvv keesvv added this to To do in v0.1.0-alpha Jan 24, 2021
@keesvv keesvv removed this from To do in v0.1.0-alpha Jan 24, 2021
@keesvv keesvv added this to In progress in v0.2.0-alpha Jan 24, 2021
@keesvv keesvv moved this from In progress to To do in v0.2.0-alpha Jan 24, 2021
@keesvv keesvv removed this from High priority in Roadmap Jan 24, 2021
@keesvv keesvv added this to To do in v0.1.0-alpha Jan 25, 2021
@keesvv keesvv removed this from To do in v0.2.0-alpha Jan 25, 2021
@keesvv keesvv moved this from To do to In progress in v0.1.0-alpha Jan 25, 2021
@keesvv keesvv moved this from In progress to To do in v0.1.0-alpha Jan 25, 2021
@keesvv keesvv moved this from To do to In progress in v0.1.0-alpha Jan 25, 2021
@keesvv keesvv pinned this issue Jan 25, 2021
@keesvv keesvv added the high priority Issues that have high priority label Jan 25, 2021
@keesvv keesvv self-assigned this Jan 25, 2021
@keesvv keesvv unpinned this issue Jan 25, 2021
@keesvv keesvv removed the high priority Issues that have high priority label Jan 25, 2021
@keesvv keesvv changed the title Buffer glitches Buffer update glitch on overflowed events Jan 25, 2021
@keesvv keesvv removed this from In progress in v0.1.0-alpha Jan 26, 2021
@keesvv keesvv added this to To do in v0.2.0-alpha Jan 26, 2021
@keesvv keesvv removed this from To do in v0.2.0-alpha Feb 3, 2021
@keesvv keesvv added this to To be categorized in Roadmap Mar 3, 2021
@keesvv keesvv removed their assignment Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working client Issues regarding the TUI client
Projects
Roadmap
  
To be categorized
Development

No branches or pull requests

1 participant