Always enable the cursor when we refresh an input
fixes some bugs when closing tabs that disable it
This commit is contained in:
parent
7b446d9b4d
commit
f405984f8d
1 changed files with 1 additions and 0 deletions
|
@ -1613,6 +1613,7 @@ class Input(Win):
|
||||||
self.addstr(0, poopt.wcswidth(displayed_text[:self.pos-self.view_pos]), '')
|
self.addstr(0, poopt.wcswidth(displayed_text[:self.pos-self.view_pos]), '')
|
||||||
if self.color:
|
if self.color:
|
||||||
self._win.attroff(to_curses_attr(self.color))
|
self._win.attroff(to_curses_attr(self.color))
|
||||||
|
curses.curs_set(1)
|
||||||
self._refresh()
|
self._refresh()
|
||||||
|
|
||||||
def adjust_view_pos(self):
|
def adjust_view_pos(self):
|
||||||
|
|
Loading…
Reference in a new issue