NEWS
keypress 1.3.2.9000
keypress() gained a timeout argument to wait at most a given number
of seconds for a key press, returning NA if none arrives in time (#5).
keypress() is now interruptible on Unix, macOS and Windows, so you can
use Ctrl-C to break out of a blocking key press (#4).
keypress() now supports non-ASCII characters on Windows, including
characters outside the Basic Multilingual Plane, e.g. emoji. (#6).
keypress 1.3.2 (2026-05-28)
keypress 1.3.1 (2023-12-11)
- Fix a
*printf() format string on Windows.
keypress 1.3.0 (2022-10-26)
- Allow turning echo off for non-blocking Linux and macOS terminals
(#11, @weshinsley)
- Support non-blocking press on Windows (Rterm)
keypress() now returns NA if no key was pressed in non-blocking mode,
as it is documented.
keypress 1.2.0 (2020-01-10)
- Support RStudio terminal.
- Better detection of support in Emacs.
keypress 1.1.1 (2017-03-02)
- Use native routine registration to avoid R CMD check warnings.
- Make sure compilation units are not empty, to avoid another R CMD check
warning.
keypress 1.1.0
- Non-blocking reads.
- Better reading individual keys from a copy-paste, or the OS buffer
in general.
keypress 1.0.0 (2015-06-06)
First released version.