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

[feature request] Do not repeat connection error messages #361

Open
Leon-Plickat opened this issue Nov 5, 2021 · 1 comment
Open

[feature request] Do not repeat connection error messages #361

Leon-Plickat opened this issue Nov 5, 2021 · 1 comment
Labels
libtiny_tui Issues/PRs related to the TUI library

Comments

@Leon-Plickat
Copy link

When tiny tries to connect to a server and fails, it prints an error message in all channel tabs related to the server

Resolving host...                                                                                                          
17:02 Connection error: failed to lookup address information: Name or service not known

The problem with this is, that when tiny tries the connection again a minute later and fails again, the same error message is printed once more.

So imagine you leave your computer on over night and at some point the internet connection drops out. When you then come back in the morning to check your channels, you'll have to scroll past ~60 error messages per hour since disconnect.

It would be nice if that error message was either only printed the first time a connection fails, or kept to the server tab, not the channel tabs.

@osa1
Copy link
Owner

osa1 commented Nov 6, 2021

Thanks for reporting. I think showing the error just once in all tabs, and then showing the follow up errors only in the server tab makes sense.

Showing the error just once in all tabs (including the server tab) is not great because you won't be able to tell if the client is trying to connect, or it tried once and gave up.

@osa1 osa1 added the libtiny_tui Issues/PRs related to the TUI library label Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libtiny_tui Issues/PRs related to the TUI library
Projects
None yet
Development

No branches or pull requests

2 participants