Skip to content

Commit 23346c6

Browse files
myobieschickling-assistant
authored andcommitted
docs: clarify machine detach frame direction
1 parent e5c4dfa commit 23346c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/protocol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Buffer } from "node:buffer";
33
export const MessageType = {
44
DATA: 0, // Terminal data (bidirectional)
55
ATTACH: 1, // Client → Server: attaching with terminal size
6-
DETACH: 2, // Client → Server: detaching
6+
DETACH: 2, // Client → Server: detach; machine stream → caller: intentional detach outcome
77
RESIZE: 3, // Client → Server: terminal resized
88
EXIT: 4, // Server → Client: process exited
99
SCREEN: 5, // Server → Client: screen buffer replay on attach

0 commit comments

Comments
 (0)