Esc stops the turn, and hands back your queue
Hulala 0.4.1 gives Esc one meaning — it stops the running turn and puts the messages you queued back into the composer, ready to edit and send again.
If you queued a message behind a running turn and then stopped the turn, the message stayed in the queue instead of coming back to you. 0.4.1 puts it back in the composer, and makes Esc the one key that does it.
Where the queued text went
Hulala runs on DeepSeek Harness, and the queue is not in the client. It is an inbox the Host keeps for the Session, durable and shared: next-step holds the steering message the running turn will pick up at its next step boundary, next-turn holds the follow-up that waits for the next turn. The terminal draws both above the composer, which is how you could see them at all.
Stopping a turn is session.cancel, and that call is deliberately written to keep the inbox — the Host is built for several clients at once, so a stop from one window must not throw away what another window queued. Correct on the Host's side, wrong for one reader's daily use: you press Esc, the turn ends, and the two lines you typed while waiting are still somewhere you have to go and fetch.
Fetching them already existed: Alt-Up removes each pending row from the Host and puts its text back in the composer. The problem was that nobody reaches for Alt-Up in the moment they decide to stop. They reach for Esc and expect the same thing pi does, which is to hand the queue back as part of the abort.
So the stop does it now. Esc, Ctrl-C and /cancel all run the same sequence: one updateQueue per pending row, steering before follow-ups, the text appended above whatever draft you had, and only then the abort. The rows leave the Host queue because they are no longer waiting to be sent; they are yours to edit again.
One key, one meaning
The other half of this release is the reason the queue fix looked like a bug report about panels.
Esc in the terminal client used to do two unrelated things. While a turn ran it interrupted, which was right. On an idle composer it moved the keyboard into the Session rail. Pressed twice in a row, the first press jumped into the rail and the second was taken by the rail itself, so the obvious reading of the screen was "Esc opens the sessions panel". Someone reported exactly that, after pressing it twice to stop a turn that had already finished.
That binding is gone. Esc is the interrupt key and nothing else:
- while a turn runs, it stops the turn, now with the queue recall above;
- with a draft in the composer, it leaves the draft alone;
- on an idle, empty composer, a second press within half a second opens the Session picker, whether or not the rail is on screen;
- inside a column it still belongs to the program when the program has something to cancel, so Neovim in insert mode keeps it;
- in the rail's filter box it still clears the query.
Everything else about reaching a panel stays on the panel keys: Ctrl-D for the rail, Ctrl-F for the conversation, Ctrl-T and Ctrl-G for the columns. One key per panel, and each one is a cycle — it takes the keyboard, then puts the panel away, then brings it back. Esc no longer competes with that.
Why the picker is behind a double press
pi binds a double Esc on an empty editor to its doubleEscapeAction, which by default opens the session tree. Hulala has no tree to open, so the nearest thing is the Session picker: the searchable list of Sessions in the current directory, plus a row that starts a new one. Keeping the gesture means the muscle memory transfers; pointing it at the picker means it does something this client actually has.
The half-second window is the same one pi uses. A single press only records that it happened, so a slow typist who hits Esc once and thinks better of it loses nothing.
The approval card stopped covering the conversation
The same build moves a pending approval or question out of the centre of the frame and into the composer's own slot. The card is the surface your next keystroke goes to anyway, so it sits where the composer sits: the conversation above keeps the rows a dialog used to hide, and the dock grows by exactly the card's height instead of the card floating over the transcript.
A frame with no composer on screen — Neovim-only mode, or the side-columns layout that puts the conversation away — keeps the floating card. A blocking question with nothing to press would hang the turn, so that case cannot simply lose the card.
Question cards also became readable. Long options wrap under their own label, a question taller than the window stays pinned at its opening with a …, the answers keep two fifths of the card, and the list scrolls with the keyboard instead of cutting the row the cursor is on.
What this release still does not do
Esc inside the Session rail does not stop a turn. The rail is a list, and a stop key that fires while you are browsing sessions is how you kill a turn you meant to leave running; Ctrl-F moves the keyboard back to the composer and Esc works there again.
A queued row that carries an image or a file stays in the queue. The terminal cannot put an attachment back into a text composer, and silently dropping it would lose work that may have come from another window. The row says so instead, and Alt-Up and Esc both leave it alone.
The recall is not an undo. Once the text is in the composer, cancelling it with Ctrl-C clears the draft, and the row is not returning to the queue.
Install or update Hulala, or read the previous release post about the managed document the updater now publishes.