fix(tui): keep streaming progress stable during interaction

This commit is contained in:
Brooklyn Nicholson 2026-04-26 04:23:57 -05:00
parent 1c964ed43f
commit 355e0ae960
15 changed files with 278 additions and 106 deletions

View file

@ -2,4 +2,4 @@ export const LARGE_PASTE = { chars: 8000, lines: 80 }
export const LONG_MSG = 300
export const MAX_HISTORY = 800
export const THINKING_COT_MAX = 160
export const WHEEL_SCROLL_STEP = 3
export const WHEEL_SCROLL_STEP = 6

View file

@ -1,5 +1,7 @@
export const STREAM_BATCH_MS = 16
export const STREAM_IDLE_BATCH_MS = 16
export const STREAM_TYPING_BATCH_MS = 80
export const TYPING_IDLE_MS = 120
export const STREAM_SCROLLING_BATCH_MS = 250
export const STREAM_TYPING_BATCH_MS = 120
export const TYPING_IDLE_MS = 250
export const SCROLLING_IDLE_MS = 450
export const REASONING_PULSE_MS = 700