Commit f405984f authored by mathieui's avatar mathieui

Always enable the cursor when we refresh an input

fixes some bugs when closing tabs that disable it
parent 7b446d9b
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment