Interface IConsoleInputHandler

Unit

Declaration

type IConsoleInputHandler = interface(IInterface)

Description

Interface to handle console input received by the worker thread. Components wishing to receive user input from the console managed by TConsoleReaderThread must implement this interface.

Attributes
GUID['{A1F9D607-9CCA-4E4B-9E93-0A2F45B6171A}']

Hierarchy

Overview

Methods

Public procedure ConsoleInputExecute(const S: string);

Description

Methods

Public procedure ConsoleInputExecute(const S: string);

Executes when a full line of input is read from the console. This procedure is typically queued to execute in the context of the main VCL/Lazarus thread.

Parameters
S
The line of text read from the console's standard input.