Curses UI: make resize behave better
Curses UI: make resize behave better

Resizing a Blinkenlights terminal doesn't crash anymore, and actually
seems to be changing the size, with this patch.

Signed-off-by: Sebastian Spaeth <98dcb2717ddae152d5b359c6ea97e4fe34a29d4c@SSpaeth.de>

frioux/offlineimap,frioux/offlineimap