diff options
Diffstat (limited to 'interface/input')
-rwxr-xr-x | interface/input/tabcomp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/input/tabcomp.py b/interface/input/tabcomp.py index 4cce602..7479f97 100755 --- a/interface/input/tabcomp.py +++ b/interface/input/tabcomp.py @@ -152,7 +152,7 @@ class Input: self.win.addstr(1, 1, ' '*(self._width-2)) self.win.addstr(2, 1, ' '*(self._width-2)) self.win.addstr(1, 1, l1) - self.win.addstr(2, 1, l2, curses.A_ITALIC) + self.win.addstr(2, 1, l2, (curses.A_ITALIC if hasattr(curses, "A_ITALIC") else 0)) self.win.move(1, len(l1)+1) self.win.refresh() |