diff options
author | bptato <nincsnevem662@gmail.com> | 2024-09-24 19:42:29 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-09-24 19:43:30 +0200 |
commit | 0c738c94e14c213562f69ff6e376c19fb0487201 (patch) | |
tree | 0d61bc0651f9120bbc7245e774dab04701a3d16e /src/local/client.nim | |
parent | b42cb50ee0213deb568b6c92965e7e193122c963 (diff) | |
download | chawan-0c738c94e14c213562f69ff6e376c19fb0487201.tar.gz |
select: use a separate module (again)
Now we dispatch to select objects from the pager object too, just to make things even more confusing. Well, it works better than the previous arrangement, in that trying to use unimplemented movements now just throws instead of moving around the container. Yay for OOP (?)
Diffstat (limited to 'src/local/client.nim')
-rw-r--r-- | src/local/client.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/local/client.nim b/src/local/client.nim index f32e758d..33bb44e3 100644 --- a/src/local/client.nim +++ b/src/local/client.nim @@ -34,6 +34,7 @@ import loader/response import local/container import local/lineedit import local/pager +import local/select import local/term import monoucha/constcharp import monoucha/fromjs @@ -820,6 +821,7 @@ proc addJSModules(client: Client; ctx: JSContext) = ctx.addConfigModule() ctx.addPagerModule() ctx.addContainerModule() + ctx.addSelectModule() ctx.addCookieModule() func getClient(client: Client): Client {.jsfget: "client".} = |