Check if the current platform/terminal supports reading single keys.
Source:R/keypress.R
has_keypress_support.Rd
Check if the current platform/terminal supports reading single keys.
Details
Supported platforms:
Terminals in Windows and Unix.
RStudio terminal.
Not supported:
RStudio (if not in the RStudio terminal).
R.app on macOS.
Rgui on Windows.
Emacs ESS.
Others.
See also
Other keypress function:
keypress()