summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-06 00:19:36 +0200
committermathieui <mathieui@mathieui.net>2014-04-06 00:19:36 +0200
commitf405984f8d00e30ad770c8a48a20129609b7f68a (patch)
tree7fdadaaed4d5d501107e96c7347e69e29b36dc96 /src
parent7b446d9b4d9b41deda280596cb0a01a0c7d01700 (diff)
downloadpoezio-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
Diffstat (limited to 'src')
-rw-r--r--src/windows.py1
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):