From 40426cb715cc31f43a282d5c22ff70c7c3cfec0f Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 3 Mar 2011 03:24:04 +0100 Subject: =?UTF-8?q?Avoid=20a=20blink=20at=20startup=20with=20a=20stupid=20?= =?UTF-8?q?hack=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core.py b/src/core.py index 88d97706..d9f5c8bd 100644 --- a/src/core.py +++ b/src/core.py @@ -820,6 +820,8 @@ class Core(object): curses.nonl() theme.init_colors() stdscr.keypad(True) + curses.ungetch(" ") # H4X: without this, the screen is + stdscr.getkey() # erased on the first "getkey()" def reset_curses(self): """ -- cgit v1.2.3