Add the app's terminal surface: bottom panel, floating window and full-screen page

This commit is contained in:
2026-11-09 21:42:52 +00:00
parent a5842e6b3b
commit acd160b49e
28 changed files with 2266 additions and 10 deletions
+5 -2
View File
@@ -92,8 +92,11 @@ type TerminalRecord struct {
Reason string `json:"reason,omitempty"`
Cols int `json:"cols"`
Rows int `json:"rows"`
// OutputEnd is the absolute byte count this server process has read;
// it restarts at zero when a restarted server reattaches.
// Stream names this server process's output stream of the terminal;
// OutputEnd is the absolute byte count read into it. A restarted server
// that reattaches starts a new stream at zero, so a client holding
// another stream reads the terminal again from its start.
Stream string `json:"stream,omitempty"`
OutputEnd int64 `json:"output_end"`
Output string `json:"output,omitempty"`
OutputStart int64 `json:"output_start,omitempty"`