Fix input detection to avoid message injection overlap
Merged
KH
1y ago+332+332+012345678901234567890123456789-310-310-012345678901234567890123456789
Summary
- strip ANSI/prompt lines and reuse captured line for input detection
- gate cursor-stable fallback behind visible-input check to avoid injecting over active typing
- ready for review; tests: npm test -- tmux-wrapper