Merge main into the terminal flow-control branch

Conflicts resolved keeping both sides: main's active-client rules, input
lane, reply marking and key input, and this branch's flow control,
acknowledgements, subscriptions and sliced emulator feed. terminal_ack
joins the terminal lane; the feed marks each live slice it writes as
drawing, so the emulator's answers still go to onReply.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-26 00:03:20 +00:00
148 changed files with 18443 additions and 153 deletions
+2
View File
@@ -43,6 +43,8 @@ type terminalProcess struct {
room chan struct{}
exited chan struct{}
outDone bool
// viewers are the connections drawing it (terminal_viewers.go).
viewers terminalViewers
}
func newTerminalProcess(record protocol.TerminalRecord) *terminalProcess {