From 16bdfdfe8159f3813221b9023b5b49bd6c570863 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 14 Oct 2017 18:39:50 +0100 Subject: Add support for italic on ^Ci. Fixes #2722. --- poezio/windows/funcs.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'poezio/windows/funcs.py') diff --git a/poezio/windows/funcs.py b/poezio/windows/funcs.py index 9d596bcc..ea2941c8 100644 --- a/poezio/windows/funcs.py +++ b/poezio/windows/funcs.py @@ -43,6 +43,8 @@ def parse_attrs(text, previous=None): attrs.append('u') elif attr_char == 'b': attrs.append('b') + elif attr_char == 'i': + attrs.append('i') if attr_char in DIGITS and attr_char: color_str = text[next_attr_char+1:text.find('}', next_attr_char)] if color_str: -- cgit v1.2.3