diff options
author | mathieui <mathieui@mathieui.net> | 2015-02-09 13:01:47 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-02-09 22:35:41 +0100 |
commit | 6d6c38a82a07000e9e39caceb071a4510b9ed7dd (patch) | |
tree | b9dfbca695dbed3054a402521c73dbb762236d65 | |
parent | 9b773e6909e2322ddcb05067505a761beec2f3ca (diff) | |
download | poezio-6d6c38a82a07000e9e39caceb071a4510b9ed7dd.tar.gz poezio-6d6c38a82a07000e9e39caceb071a4510b9ed7dd.tar.bz2 poezio-6d6c38a82a07000e9e39caceb071a4510b9ed7dd.tar.xz poezio-6d6c38a82a07000e9e39caceb071a4510b9ed7dd.zip |
Do not enable the cursor during full screen redraw
(and restore it afterwards)
Could take care of some refresh issues with the position of the cursor
-rw-r--r-- | src/core/core.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core.py b/src/core/core.py index 34d733ba..344193bf 100644 --- a/src/core/core.py +++ b/src/core/core.py @@ -1437,9 +1437,11 @@ class Core(object): """ Refresh everything """ + nocursor = curses.curs_set(0) self.current_tab().state = 'current' self.current_tab().refresh() self.doupdate() + curses.curs_set(nocursor) def refresh_tab_win(self): """ |