about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/display/client.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/display/client.nim b/src/display/client.nim
index 6e9f6331..9cdf95a9 100644
--- a/src/display/client.nim
+++ b/src/display/client.nim
@@ -392,11 +392,13 @@ proc inputLoop(client: Client) =
       if Event.Timer in event.events:
         if event.fd in client.interval_fdis:
           client.intervals[client.interval_fdis[event.fd]].handler()
+          client.runJSJobs()
         elif event.fd in client.timeout_fdis:
           let id = client.timeout_fdis[event.fd]
           let timeout = client.timeouts[id]
           timeout.handler()
           client.clearTimeout(id)
+          client.runJSJobs()
     if client.pager.scommand != "":
       client.command(client.pager.scommand)
       client.pager.scommand = ""