mirror of
https://github.com/instructkr/claw-code.git
synced 2026-10-18 00:00:11 +08:00
The terminal check was removed during merge conflict resolution, causing the spinner animation to be output to non-TTY streams (like pipes used in tests), which corrupted the output format and broke the text_prompt_mode_keeps_streamed_text_when_the_turn_fails test. Restore the is_terminal() check to only animate when stdout is a real terminal while keeping the interrupt feature.