Screen.hasKey

It would be nice to know if a given key is supported by a terminal. Note that this is best-effort, and some terminals may present the ability to support a key, without actually having such a physical key and some combinations may be suppressed by the emulator or the environment the emulator runs in.

interface Screen
bool
hasKey
(
Key
)

Return Value

Type: bool

true if the key appears to be supported on the terminal.

Meta