Commit Graph

4 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
Rufino Cabrera fda018a324 Fix REPL y/N prompts showing ^M after Enter
Restore cooked TTY state after prompt_toolkit exits so Rich console.input
and other follow-up prompts (e.g. /compact confirmation) accept Enter normally.
2026-06-11 12:30:51 +02:00
UnaiAlias 1c79507140
CAI 1.1.5 release (#455) 2026-06-05 13:43:19 +02:00