summaryrefslogtreecommitdiff
path: root/poezio/poopt.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-22 17:31:25 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-22 17:31:25 +0200
commit33718e56c460ca85c1f0e18259879aafeea716f7 (patch)
tree7156fb14bc20dad87499837be3ee95ca99cd5588 /poezio/poopt.py
parent30547aa81ade0d86d67928004dd16346ad463326 (diff)
downloadpoezio-33718e56c460ca85c1f0e18259879aafeea716f7.tar.gz
poezio-33718e56c460ca85c1f0e18259879aafeea716f7.tar.bz2
poezio-33718e56c460ca85c1f0e18259879aafeea716f7.tar.xz
poezio-33718e56c460ca85c1f0e18259879aafeea716f7.zip
poopt: 😆’s length should be 2, not 1.
Diffstat (limited to 'poezio/poopt.py')
-rw-r--r--poezio/poopt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/poopt.py b/poezio/poopt.py
index b9243686..57bd28c8 100644
--- a/poezio/poopt.py
+++ b/poezio/poopt.py
@@ -25,7 +25,7 @@ libc = ffi.dlopen(None)
# Just checking if the return value is -1. In some (all?) implementations,
-# wcwidth("😆") returns -1 while it should return 1. In these cases, we
+# wcwidth("😆") returns -1 while it should return 2. In these cases, we
# return 1 instead because this is by far the most probable real value.
# Since the string is received from python, and the unicode character is
# extracted with mbrtowc(), and supposing these two compononents are not