Terminal.setInputEnabled

Enables or disables user input. When user input is disabled, the terminal's child will not receive any key press, or mouse button press or motion events sent to it.

class Terminal
void
setInputEnabled
(
bool enabled
)

Parameters

enabled bool

whether to enable user input