v1.8.6: fix sudo auto-password detection

- Strip ANSI escape sequences before matching sudo prompt
- Normalize \r\n and \r to \n for reliable line splitting
- Add 200ms delay before sending password (let PTY settle)
- Increase buffer to 500 bytes for longer prompts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
chrome-storm-c442
2026-02-24 04:07:16 -05:00
parent ad13c4e842
commit 339992c2b2
2 changed files with 14 additions and 4 deletions