From f405984f8d00e30ad770c8a48a20129609b7f68a Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 6 Apr 2014 00:19:36 +0200 Subject: [PATCH] Always enable the cursor when we refresh an input fixes some bugs when closing tabs that disable it --- src/windows.py | 1 + 1 file changed, 1 insertion(+) 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):