about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-11-30 12:31:37 +0100
committerbptato <nincsnevem662@gmail.com>2022-11-30 12:31:37 +0100
commit9c2ee92c3d3b3e493908ad67bcc1c82a740b4fed (patch)
tree8aa357988bd3f3fc5e22e7119790f0df4d0993c9 /src/main.nim
parent07a4109aa28578b471d8d90042c5cba6f12abb8c (diff)
downloadchawan-9c2ee92c3d3b3e493908ad67bcc1c82a740b4fed.tar.gz
Load fork-server config after parsing arguments
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 7c5a9243..705063a2 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -15,7 +15,6 @@ import utils/twtstr
 
 let conf = readConfig()
 widthtable = makewidthtable(conf.ambiguous_double)
-disp.forkserver.loadForkServerConfig(conf)
 let params = commandLineParams()
 
 proc version(long: static bool = false): string =
@@ -113,5 +112,6 @@ if pages.len == 0 and not conf.headless:
 
 conf.nmap = constructActionTable(conf.nmap)
 conf.lemap = constructActionTable(conf.lemap)
+disp.forkserver.loadForkServerConfig(conf)
 
 newClient(conf, disp).launchClient(pages, ctype, dump)