marker is the status-bar glyph for the frozen finish: ✓ for a clean finish, ✗ for an abort (cancel, error, or a stalled/leaked end). "" suppresses the frozen segment for outcomeNone.
()
| 69 | // ✗ for an abort (cancel, error, or a stalled/leaked end). "" suppresses the |
| 70 | // frozen segment for outcomeNone. |
| 71 | func (o turnOutcome) marker() string { |
| 72 | switch o { |
| 73 | case outcomeDone: |
| 74 | return "✓" |
| 75 | case outcomeStopped: |
| 76 | return "✗" |
| 77 | } |
| 78 | return "" |
| 79 | } |
| 80 | |
| 81 | // queuedPrompt is a prompt the user committed while a turn was running, held |
| 82 | // until the turn ends and then auto-submitted. send is the chip-expanded text |