erase {cursr}R Documentation

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')


[Package cursr version 0.1.0 Index]