Up: Classes   [Index]


TerminalStream

TerminalStream Class

TerminalStream is the superclass of terminal classes that provide terminal and console input and output capabilities.

This class implements the input queue for its subclasses. The queue is a List object whose members are InputEvent objects. See InputEvent.

Instance Variables

inputQueue

A List contains that contains InputEvent objects.

inputQueueMax

The maximum number of InputEvent objects in the inputQueue

nInputEvents;

The actual number of InputEvent objects in the inputQueue

Instance Methods

inputPending (void)

Returns TRUE if a terminal stream has pending input objects.

isATty (void)

Return TRUE if the receiver’s stream is a tty device, FALSE otherwise.

nextInputEvent (void)

Return the next InputEvent object from the stream’s input queue.

queueInput (void)

Turn on queueing of input events.

queueInputEvent (void)

Queue this input event.