Always enable the cursor when we refresh an input

fixes some bugs when closing tabs that disable it
This commit is contained in:
mathieui 2014-04-06 00:19:36 +02:00
parent 7b446d9b4d
commit f405984f8d

View file

@ -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):