Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

erase

Erase Text


Description

Clear text from the cursor's row . Passing values "start" and "end" allow the user to erase specific portions of the row relative to the cursor.

Usage

erase(x = c("row", "start", "end"), ...)

Arguments

x

character describing location to clear. The default, "row", clears the entire row; "start" clears all text from the beginning of the row until the cursor's position; "end" clears all text from the cursor's position until the end of the row.

...

objects passed to/from methods

Value

NULL

Examples

cat('hello world!')
erase('row')

cursr

Cursor and Terminal Manipulation

v0.1.0
MIT + file LICENSE
Authors
Chris Mann
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.