]> git.giacomolli.uk - onechat/commit
Show an input prompt while the agent is idle
authorAnderson A. Giacomolli <agiacomolli@gmail.com>
Tue, 10 Nov 2026 02:46:12 +0000 (23:46 -0300)
committerAnderson A. Giacomolli <agiacomolli@gmail.com>
Tue, 10 Nov 2026 02:52:52 +0000 (23:52 -0300)
commitae8532ff0e9d3d676fec5f48780a62e58aa6882d
tree51e8ae0639ac7b7be504beb6531e409fa8256ddf
parent0bc8db71aa5d2c55b215a7a15b073bb85a1172eb
Show an input prompt while the agent is idle

The terminal client ends shown events with a prompt while no turn runs.
Busy and idle events track the turn, and the next shown event clears the
prompt before it prints. Pipes and files keep the same output. The small
prompt does not keep a typed line separate from incoming events.
README.rst
terminal.go
terminal_test.go