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: rename Action::Refresh -> Action::ClearScreen, add handler, update tui restore logic after suspend #61

Merged

Conversation

deepanchal
Copy link
Contributor

Description

Related thread: ratatui/ratatui-website#651 (comment)

  • Renames Action::Refresh to Action::ClearScreen since we weren't using it
  • Use terminal.clear() to restore tui on Action::ClearScreen
  • Send Action::ClearScreen after Action::Resume to restore tui without reinitializing tui

…date tui restore logic after suspend

Signed-off-by: Deep Panchal <[email protected]>
@kdheepak kdheepak merged commit 5e823ef into ratatui:main Jul 2, 2024
3 checks passed
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.

3 participants