diff options
author | mathieui <mathieui@mathieui.net> | 2014-04-06 00:19:36 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-04-06 00:19:36 +0200 |
commit | f405984f8d00e30ad770c8a48a20129609b7f68a (patch) | |
tree | 7fdadaaed4d5d501107e96c7347e69e29b36dc96 | |
parent | 7b446d9b4d9b41deda280596cb0a01a0c7d01700 (diff) | |
download | poezio-f405984f8d00e30ad770c8a48a20129609b7f68a.tar.gz poezio-f405984f8d00e30ad770c8a48a20129609b7f68a.tar.bz2 poezio-f405984f8d00e30ad770c8a48a20129609b7f68a.tar.xz poezio-f405984f8d00e30ad770c8a48a20129609b7f68a.zip |
Always enable the cursor when we refresh an input
fixes some bugs when closing tabs that disable it
-rw-r--r-- | src/windows.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/windows.py b/src/windows.py index e572a0a5..b7817583 100644 --- a/src/windows.py +++ b/src/windows.py @@ -1613,6 +1613,7 @@ class Input(Win): self.addstr(0, poopt.wcswidth(displayed_text[:self.pos-self.view_pos]), '') if self.color: self._win.attroff(to_curses_attr(self.color)) + curses.curs_set(1) self._refresh() def adjust_view_pos(self): |