-
Notifications
You must be signed in to change notification settings - Fork 13
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
connman_ncurses crashes at initialization phase if LINES < 24 || COLS < 80 #1
Comments
Hi Javier, Thanks for the report. Did you tried to remove the assert ? How does it work without that assert on your 23x82 terminal? |
Hi, The assert is only used to ensure that the interface works at a minimal resolution. I didn't expect your exotic resolution. If you need to use it at your resolution, you might want to modify |
I'm thinking that the current design of the application require some minimal resolution. |
How about a better error message for this? Right now I get the following output which isn't very helpful...
|
well well well... if developement was possible, I believe that in the wait of a future handling of very little screens, a good message should be the way to go. yes. |
Hello,
Thanks for this program, connman really needed a ncurses interface =). On line 1561 there is an assert entry:
Which make connman_ncurses crash (Aborted (core dumped)) if it's launched from a terminal with less than 24 lines or less than 80 cols. Instead of crashing it could output a warning stating it only support terminals larger than 24x80. My testing tput cols = 82, tput lines = 23.
Cheers.
The text was updated successfully, but these errors were encountered: