trm_co()

Purpose

Sends a character to the console

Old name

#define _co trm_co

Syntax

void trm_co(ch)

Parameters

int ch

Character to write to the console

Description

The function trm_co() sends the specified character directly to the console. The terminal manager does not treat any displayed characters as part of the background, and they are, therefore, erased by subsequent calls to the function map_remark() and similar functions.

The only control characters recognised are '\n', '\r' and '\b'.

Do not use this function if you use calls to any of the map functions.

Note that the output is immediately visible. Refreshing the screen has no effect on this function.

See also

trm_so()

Example

See the example for trm_so()