about summary refs log tree commit diff stats
path: root/src/ips
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/ips
parent167dd67270d5a432c584b61f5a22281ca47017d9 (diff)
downloadchawan-5f88adcc8e742dc18230f40c3361801cf012a8c6.tar.gz
Make width table at compile-time
Diffstat (limited to 'src/ips')
-rw-r--r--src/ips/forkserver.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ips/forkserver.nim b/src/ips/forkserver.nim
index 85b4aae5..9993467e 100644
--- a/src/ips/forkserver.nim
+++ b/src/ips/forkserver.nim
@@ -138,7 +138,7 @@ proc runForkServer() =
       of LOAD_CONFIG:
         var config: ForkServerConfig
         ctx.istream.sread(config)
-        width_table = makewidthtable(config.ambiguous_double)
+        set_cjk_ambiguous(config.ambiguous_double)
         SocketDirectory = config.tmpdir
       ctx.ostream.flush()
     except EOFError: