trm_clr_ahead()

Purpose

Clears the type-ahead buffer

Old name

#define _clr_ahead trm_clr_ahead

Syntax

void trm_clr_ahead(void);

Description

The function trm_clr_ahead() clears the type-ahead buffer. This may be used to make sure important messages are displayed on the screen which might otherwise have been missed due to the user pressing <Enter> too many times.

Example

trm_clr_ahead();