about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-01-27 21:30:28 +0100
committerbptato <nincsnevem662@gmail.com>2023-01-27 21:48:21 +0100
commit5f88adcc8e742dc18230f40c3361801cf012a8c6 (patch)
tree4c402261a3349ad3fd1959ef58093d459fe2bccd /src/main.nim
parent167dd67270d5a432c584b61f5a22281ca47017d9 (diff)
downloadchawan-5f88adcc8e742dc18230f40c3361801cf012a8c6.tar.gz
Make width table at compile-time
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.nim b/src/main.nim
index 4cbf3d0d..7786909e 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -14,7 +14,7 @@ import ips/forkserver
 import utils/twtstr
 
 let conf = readConfig()
-widthtable = makewidthtable(conf.ambiguous_double)
+set_cjk_ambiguous(conf.ambiguous_double)
 let params = commandLineParams()
 
 proc version(long: static bool = false): string =