diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-03-03 03:24:04 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-03-03 03:24:04 +0100 |
commit | 40426cb715cc31f43a282d5c22ff70c7c3cfec0f (patch) | |
tree | 46945f96646a4ec97eeee1b4297fa43549f033f1 | |
parent | 83aa15821ff1d8d5101710fed802026c0b60baf3 (diff) | |
download | poezio-40426cb715cc31f43a282d5c22ff70c7c3cfec0f.tar.gz poezio-40426cb715cc31f43a282d5c22ff70c7c3cfec0f.tar.bz2 poezio-40426cb715cc31f43a282d5c22ff70c7c3cfec0f.tar.xz poezio-40426cb715cc31f43a282d5c22ff70c7c3cfec0f.zip |
Avoid a blink at startup with a stupid hackā¦
-rw-r--r-- | src/core.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): """ |