diff options
author | bptato <nincsnevem662@gmail.com> | 2023-06-15 01:14:48 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-06-15 01:14:48 +0200 |
commit | 36390a564a191a92d470bb650e693546623774af (patch) | |
tree | ff3b0a218ad614d0ccefb90c5a813a95f6da52eb /src/display/client.nim | |
parent | c13a4cf4e144f7ab36167ebbb1333f7faeed11b3 (diff) | |
download | chawan-36390a564a191a92d470bb650e693546623774af.tar.gz |
Cleanups & bug fixes involving promises
Now a promise returning nil doesn't just leave the rest of the then chain hanging. Hooray.
Diffstat (limited to 'src/display/client.nim')
-rw-r--r-- | src/display/client.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/display/client.nim b/src/display/client.nim index 9783650f..88185fb7 100644 --- a/src/display/client.nim +++ b/src/display/client.nim @@ -552,6 +552,7 @@ proc newClient*(config: Config, dispatcher: Dispatcher): Client = ctx.addBlobModule() ctx.addFormDataModule() ctx.addRequestModule() + ctx.addResponseModule() ctx.addLineEditModule() ctx.addConfigModule() ctx.addPagerModule() |