Repository navigation
Release v0.6.3
Release v0.6.3 - Fix thinking indicator duplication
This release fixes the thinking indicator duplication issue through
deep ANSI sequence analysis and auto-scroll implementation.
Root Cause Identified
Claude Code writes multiple status lines as NEW lines (not updating
in-place). Analysis revealed:
- NO cursor save/restore sequences
- NO cursor positioning commands
- NO line clearing sequences
- Simple line-by-line output with newlines
Each status update appends a new line to the buffer. In native terminals,
users stay at bottom and only see latest line. In our mobile viewport,
both old and new status lines were visible simultaneously.
Fixes Applied
-
Auto-scroll to bottom during streaming (app.js)
- Added onWriteParsed handler to keep viewport at bottom
- Scrolls if within 3 lines of bottom
- Matches native terminal behavior
- Old status lines scroll out of view
-
Filter ESC[<u sequence (api.py)
- Non-standard sequence appearing 60 times
- May interfere with xterm.js cursor positioning
- Pattern: [?25l[<u[?1004l[?2004l[?25h
-
Reduced scrollback to 500 lines
- Better mobile performance
- Still enough history for typical usage
Investigation Documentation
- test_screencast/ROOT_CAUSE_ANALYSIS.md - Complete analysis
- test_screencast/DUPLICATION_FOUND.md - Frame evidence
- test_screencast/AFTER_FIX_ANALYSIS.md - Previous testing
- test_screencast/analysis_frame_*.png - Visual evidence
- test_screencast/claude_ansi_output.txt - Raw PTY capture
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com