about summary refs log tree commit diff stats
path: root/src/utils/twtstr.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-12-23 16:16:51 +0100
committerbptato <nincsnevem662@gmail.com>2021-12-23 16:16:51 +0100
commitbfd634f845a8669a066ba55836e77d2d203959aa (patch)
tree8f66448b0786691b545469ef7c5783ff3819674b /src/utils/twtstr.nim
parenteb16da9fdff2d483c9143a4caea641e021a9e3af (diff)
downloadchawan-bfd634f845a8669a066ba55836e77d2d203959aa.tar.gz
Fix pager bugs
Diffstat (limited to 'src/utils/twtstr.nim')
-rw-r--r--src/utils/twtstr.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/twtstr.nim b/src/utils/twtstr.nim
index e7260f0f..d5a33b75 100644
--- a/src/utils/twtstr.nim
+++ b/src/utils/twtstr.nim
@@ -634,7 +634,7 @@ var width_table*: array[0..0x10FFFF, byte]
 func makewidthtable*(cjk: bool): array[0..0x10FFFF, byte] =
   for r in low(char)..high(char):
     if r.isControlChar():
-      result[int(r)] = 2 #TODO this should be 0
+      result[int(r)] = 0
     else:
       result[int(r)] = 1