summaryrefslogtreecommitdiff
path: root/interface/input/tabcomp.py
diff options
context:
space:
mode:
authorBen Connors <benconnors@outlook.com>2019-12-03 10:24:42 -0500
committerBen Connors <benconnors@outlook.com>2019-12-03 10:24:42 -0500
commit1ea9b37468b2cffc6c6c62dd767ab4d3956e54c7 (patch)
tree6d758d241de75229cbb1696ea1f38821fa856cef /interface/input/tabcomp.py
parent7b8505af6c74abd98462662acda0b2dbb46c328d (diff)
Interface fixes
- Don't use italics if unavailable - Add more command-line options - Fix channels indexing from 1 in interface (now 0)
Diffstat (limited to 'interface/input/tabcomp.py')
-rwxr-xr-xinterface/input/tabcomp.py2
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()