summaryrefslogtreecommitdiff
path: root/poezio/windows/inputs.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/windows/inputs.py')
-rw-r--r--poezio/windows/inputs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/poezio/windows/inputs.py b/poezio/windows/inputs.py
index ae1440b3..fca12e9d 100644
--- a/poezio/windows/inputs.py
+++ b/poezio/windows/inputs.py
@@ -482,6 +482,8 @@ class Input(Win):
self._win.attron(curses.A_UNDERLINE)
elif attr_char == 'b':
self._win.attron(curses.A_BOLD)
+ elif attr_char == 'i':
+ self._win.attron(curses.A_ITALIC)
elif attr_char in string.digits and attr_char != '':
self._win.attron(to_curses_attr((int(attr_char), -1)))
format_char = find_first_format_char(text, chars)