PtTtyOutput

PtTtyOutput — output callback information.

Synopsis

class PtTtyOutput
{
    buffer;      // string
    length;      // unsigned short
    new_size;    // PhPoint
    old_size;    // PhPoint
}
		

Description

This class holds information from the Pt_CB_TTY_OUTPUT callback, which is generated when device output is received. The other callback for PtTty, Pt_CB_TTY_DEVSIZE, is documented with PtTerminalSizeChange.

Also see Pt_CB_TTY_OUTPUT in the PtTty section of the Photon documentation.

Instance Variables

buffer

A string identifying the buffer containing output characters.

length

The number of output characters received.

new_size

A PhPoint indicating the new size of a resized device, in rows and columns.

old_size

A PhPoint indicating the former size of a resized device, in rows and columns.

Associated Classes

PtTty, PtTerminalSizeChange, PtCallbackInfo