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

Don't block the TUI while refreshing feeds #25

Open
bacardi55 opened this issue Jun 30, 2021 · 0 comments
Open

Don't block the TUI while refreshing feeds #25

bacardi55 opened this issue Jun 30, 2021 · 0 comments
Labels
TUI TUI related

Comments

@bacardi55
Copy link
Owner

At the moments, the TUI show a full screen message while refreshing feeds and thus stop the user to continue browsing tinylogs entries while refreshing.

This is done at the moment because otherwhise, the TUI would be frozen while refreshing. And I prefer having this message than an unresponsive TUI during the refresh phase (and at least the user know why).

It would be better if the refreshing mechanism doesn't block the TUI. It might need some heavy code change to move the timeline construction to an asynchronous tasks that won't block because of the way cview (the tui library) works (or at least who I understood it).

@bacardi55 bacardi55 added the TUI TUI related label Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TUI TUI related
Projects
None yet
Development

No branches or pull requests

1 participant