Too small width of the console causes a crash
I get an exception when the width of the console becomes too small :
Traceback (most recent call last):
File "src/poezio.py", line 50, in
main()
File "src/poezio.py", line 47, in main
cocore.main_loop() # Refresh the screen, wait for user events etc
File "/home/pumpkin/sources/poezio/src/core.py", line 426, in
main_loop
func()
File "/home/pumpkin/sources/poezio/src/core.py", line 1283, in
call_for_resize
scr = self.stdscr.subwin(0, config.get('vertical_tab_list_size',
20))
_curses.error: curses function returned NULL
- Changesets:
- Revision 0caf9417 by mathieui on 2014-04-28T21:29:21Z:
Make the size modular, remove small-size lock (also seems to fix #2155)
some stuff is now hidden wen the window size gets too small (might need
some adjustments). The info buffer in the roster tab, the userlist in
mucs, the vertical tab list, the info buffer everywhere, etc…