mrusme / superhighway84

USENET-inspired, uncensorable, decentralized internet discussion system running on IPFS & OrbitDB
https://xn--gckvb8fzb.com/superhighway84
GNU General Public License v3.0
694 stars 24 forks source link

Redraw TUI shortcut #31

Closed smitec closed 2 years ago

smitec commented 2 years ago

Occasionally errors will post log messages to the terminal. This writes over the top of the TUI.

Sometimes moving between threads cases a redraw of that area but not always.

It would be handy if refresh (or some other shortcut) allowed a total TUI redraw to clean up after this happens.

I don't have a clearer screenshot as an example but the one attached shows some date info after the download total due to an error message that was printed.

Screen Shot 2022-01-10 at 3 25 08 pm

.

mrusme commented 2 years ago

I can't really test this because so far I haven't had any issue popping up and messing with the UI, but I've implemented a Sync when the refresh shortcut was pressed, which according to its documentation should do what you asked for. :-)