docker-offlineimap/offlineimap/ui
Ilias Tsitsimpis 0a635bd236 Fix flickering in Blinkenlights UI
Do not call resizeterm(), unless is_term_resized() returns True. This
breaks the busy-loop where resizeterm() pushes a KEY_RESIZE onto the
FIFO causing the screen to be redrawn indefinitely (Issue #290).

Also, clear and refresh the main window after it has been resized. This
hopefully fixes the problem where Blinkenlights UI becomes unreadable
after terminal resize (Issue #160).

Closes #160: blinkenlights display is broken
Closes #290: ncurses flicker with blinkenlights UI
Bug-Debian: https://bugs.debian.org/671087
Bug-Debian: https://bugs.debian.org/809676
Signed-off-by: Ilias Tsitsimpis <i.tsitsimpis@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2016-10-20 14:11:51 +02:00
..
__init__.py UIBase: add a syslog ui 2015-10-13 00:48:18 +02:00
Curses.py Fix flickering in Blinkenlights UI 2016-10-20 14:11:51 +02:00
debuglock.py more style consistency 2015-01-08 23:36:19 +01:00
Machine.py Fix typo in format string in machineui 2016-08-04 02:20:10 +02:00
Noninteractive.py learn to not download UIDs defined by the user 2016-07-03 20:02:45 +02:00
TTY.py add the repository name when connecting 2016-07-30 01:44:27 +02:00
UIBase.py add the repository name when connecting 2016-07-30 01:44:27 +02:00