mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-21 16:02:20 +00:00
ui_prompt_end sent prompt-submit unconditionally, but Pi also opens prompts while idle (/model, a command's select). Closing one left a finished or fresh pane reading "working" with no agent_end to clear it. Remember the last turn event and re-emit that instead.