docker-offlineimap/offlineimap
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
..
folder UIDMaps: reorder imports 2016-10-18 14:58:02 +02:00
repository repository: IMAP: cache the idle folders in memory 2016-09-20 02:36:56 +02:00
ui Fix flickering in Blinkenlights UI 2016-10-20 14:11:51 +02:00
utils minor: utils: distro: fix copyright line 2016-09-21 00:51:42 +02:00
__init__.py v7.0.8 2016-10-08 10:10:56 +02:00
accounts.py add the repository name when connecting 2016-07-30 01:44:27 +02:00
bundled_imaplib2.py bump from imaplib2 v2.53 to v2.55 2016-06-11 11:08:02 +02:00
CustomConfig.py ConfigHelperMixin must be new-style class to not break inheritance 2016-07-30 04:26:25 +02:00
emailutil.py Rename email.Parser to email.parser 2016-05-10 02:53:09 +02:00
error.py more consistent style 2015-01-07 21:31:43 +01:00
globals.py fix: when called with -a, mbnames must not erase entries of other accounts 2016-06-25 17:33:42 +02:00
imaplibutil.py improve error message when ssl_version must be set due to the tls_level 2016-07-25 03:29:25 +02:00
imapserver.py imapserver: minor code cleaning: reorder methods 2016-09-23 16:27:22 +02:00
imaputil.py Add workaround for string.split for Python3 2016-05-10 02:53:09 +02:00
init.py Import ui before threadutil to resolve circular dependency 2016-10-07 08:47:21 +02:00
localeval.py minor code enhancements 2016-07-28 00:42:35 +02:00
mbnames.py mbnames: add info output messages in dry run mode 2016-08-26 01:44:15 +02:00
threadutil.py threadutil: use 'with' statements for lock 2016-07-03 20:03:14 +02:00
virtual_imaplib2.py bump from imaplib2 v2.53 to v2.55 2016-06-11 11:08:02 +02:00