without_echo: Call a function with echo suppressed

View source: R/keypress.R

without_echoR Documentation

Call a function with echo suppressed

Description

For Linux/Unix and OSX terminals, suppress key echoes from the terminal.

Usage

without_echo(expr)

Arguments

expr

Expression to evaluate without terminal echo.

Details

You will need to set echo to FALSE if you want the R script to handle all of the keypress-related behaviour, without any keys being echoed in the terminal by the operating system, when using non-blocking keypress. This is not necessary when running in a Windows command prompt, and will be safely ignored.


keypress documentation built on May 29, 2024, 2:01 a.m.