From a1b5a056aaf42f4bd167bb9d733fc76ba9b8b39b Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Sat, 13 Jun 2026 05:16:09 -0700 Subject: [PATCH] fix: keep CLI idle timer ticking --- cli.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cli.py b/cli.py index bc5ced017ad06..3618a7ed9a660 100644 --- a/cli.py +++ b/cli.py @@ -12765,6 +12765,13 @@ def _get_voice_status(): style=style, full_screen=False, mouse_support=False, + # The status bar contains wall-clock read-outs (live prompt elapsed + # and idle-since-last-turn). Once a turn finishes there may be no + # further events to invalidate the app, so prompt_toolkit would keep + # rendering the first post-turn value (usually ``✓ 0s``) forever. + # A low-rate refresh keeps the clock honest without reintroducing a + # custom repaint thread or touching conversation state. + refresh_interval=1.0, # Erase the live bottom chrome (status bar, input box, separator # rules) on exit instead of freezing a final copy into scrollback. # Without this, prompt_toolkit's render_as_done teardown repaints