about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-09-12 00:30:21 +0200
committerbptato <nincsnevem662@gmail.com>2022-09-12 00:30:21 +0200
commit51ea622d58bfca19212fac1800cfb033bb85ec39 (patch)
treeb75891690f67b190c60584751f2a30c96f342fdc /src/main.nim
parente38402dfa1bbc33db6b9d9736517eb45533d595c (diff)
downloadchawan-51ea622d58bfca19212fac1800cfb033bb85ec39.tar.gz
Add JS binding generation
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.nim b/src/main.nim
index 926d1c37..51824798 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -4,8 +4,8 @@ import terminal
 when defined(profile):
   import nimprof
 
-import client
 import config/config
+import display/client
 import utils/twtstr
 
 readConfig()
@@ -81,7 +81,7 @@ if pages.len == 0:
   if stdin.isatty:
     help(1)
 
-gconfig.nmap = constructActionTable(gconfig.nmap)
+gconfig.nmap = constructActionTable2(gconfig.nmap)
 gconfig.lemap = constructActionTable(gconfig.lemap)
 
 width_table = makewidthtable(gconfig.ambiguous_double)