mv_row {cursr}R Documentation

Move Cursor to Row

Description

Moves cursor to the beginning of the row relative to its current location.

Usage

mv_row(n = 1L)

Arguments

n

number of rows to move. Positive values indicate the next rows; negative values indicate the previous rows

Details

The user must be in a terminal to use the functionality; it will not work in RStudio or the R GUI.

Value

NULL

See Also

Other moving functions: mv_col(), mv_to(), mv()

Examples

# move the cursor to the beginning of the previous line
mv_row(-1)


[Package cursr version 0.1.0 Index]