Skip to main content

C2S_READ

Constant C2S_READ 

Source
pub const C2S_READ: u8 = 0x19;
Expand description

Read text from a PTY’s scrollback + viewport: [0x19][nonce:2][pty_id:2][offset:4][limit:4][flags:1] offset: number of lines to skip from the top (oldest = 0), or from the end if READ_TAIL is set limit: max lines to return (0 = all) flags: bit 0 = include ANSI styling, bit 1 = offset counts from the end Server responds with S2C_TEXT using the same nonce.