summaryrefslogtreecommitdiff
path: root/poezio/windows/base_wins.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-10-25 13:15:06 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-06-11 20:49:46 +0100
commitd4003d1d26b99feffa87c33ca23a63206f38a38d (patch)
treef14f5bf26036ad9f6eb020b4944cfad377e7c3b1 /poezio/windows/base_wins.py
parent332a5c2553db41de777473a1e1be9cd1522c9496 (diff)
downloadpoezio-d4003d1d26b99feffa87c33ca23a63206f38a38d.tar.gz
poezio-d4003d1d26b99feffa87c33ca23a63206f38a38d.tar.bz2
poezio-d4003d1d26b99feffa87c33ca23a63206f38a38d.tar.xz
poezio-d4003d1d26b99feffa87c33ca23a63206f38a38d.zip
Replace two lists of characters with strings.
Diffstat (limited to 'poezio/windows/base_wins.py')
-rw-r--r--poezio/windows/base_wins.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/poezio/windows/base_wins.py b/poezio/windows/base_wins.py
index 8df214d2..f22e41d3 100644
--- a/poezio/windows/base_wins.py
+++ b/poezio/windows/base_wins.py
@@ -21,8 +21,7 @@ from theming import to_curses_attr, read_tuple
FORMAT_CHAR = '\x19'
# These are non-printable chars, so they should never appear in the input,
# I guess. But maybe we can find better chars that are even less risky.
-format_chars = ['\x0E', '\x0F', '\x10', '\x11', '\x12', '\x13',
- '\x14', '\x15', '\x16', '\x17', '\x18']
+format_chars = '\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18'
# different colors allowed in the input
allowed_color_digits = ('0', '1', '2', '3', '4', '5', '6', '7')