summaryrefslogtreecommitdiff
path: root/poezio/theming.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-14 18:39:50 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-14 18:43:26 +0100
commit16bdfdfe8159f3813221b9023b5b49bd6c570863 (patch)
tree73e05dc25485531dd08ff35db3751a7c377f1f4f /poezio/theming.py
parent256119a574fe37ba38a7aad0fd9952c9069ccfbf (diff)
downloadpoezio-16bdfdfe8159f3813221b9023b5b49bd6c570863.tar.gz
poezio-16bdfdfe8159f3813221b9023b5b49bd6c570863.tar.bz2
poezio-16bdfdfe8159f3813221b9023b5b49bd6c570863.tar.xz
poezio-16bdfdfe8159f3813221b9023b5b49bd6c570863.zip
Add support for italic on ^Ci.
Fixes #2722.
Diffstat (limited to 'poezio/theming.py')
-rwxr-xr-xpoezio/theming.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/poezio/theming.py b/poezio/theming.py
index 8641ba94..813f8bc0 100755
--- a/poezio/theming.py
+++ b/poezio/theming.py
@@ -445,6 +445,8 @@ def to_curses_attr(color_tuple):
curses_pair = curses_pair | curses.A_BOLD
if 'u' in additional_val:
curses_pair = curses_pair | curses.A_UNDERLINE
+ if 'i' in additional_val:
+ curses_pair = curses_pair | curses.A_ITALIC
if 'a' in additional_val:
curses_pair = curses_pair | curses.A_BLINK
return curses_pair