mv_row: Move Cursor to Row

Description Usage Arguments Details Value See Also Examples

View source: R/2-Move.R

Description

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

Usage

1
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

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

cursr documentation built on Jan. 13, 2021, 7:35 a.m.