Terminal.setInputEnabled

void setInputEnabled(bool enabled)

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.

Parameters

enabledwhether to enable user input