Commit Graph

2 Commits

Author SHA1 Message Date
Rufino Cabrera 95506508a2 Use prompt_toolkit for /compact y/N confirmation
Rich console.input still echoed ^M after prompt_toolkit even with cooked
TTY restore. Route compact confirmation through prompt_toolkit like the
main CAI> prompt and other interactive agent flows.
2026-06-11 12:30:57 +02:00
Rufino Cabrera 937fbb5cc1 Fix /compact y/N prompt echoing ^M on Enter
Force cooked canonical TTY mode after prompt_toolkit and route /compact
confirmation through read_repl_yes_no, which restores the terminal and
strips stray carriage returns from the answer.
2026-06-11 12:30:57 +02:00