From cf700a148731499e63ee50497c82350d3dea342e Mon Sep 17 00:00:00 2001 From: Rob Hoelz Date: Wed, 2 Apr 2014 07:38:26 -0500 Subject: Document jump --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index cfae2e4..2f19b4b 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Usage term.clear() -- clears the screen term.cleareol() -- clears from the cursor to the end of the line term.cursor.goto(1, 1) + term.cursor.jump(1, 1) -- jump is just an alias for goto term.cursor.goto(io.stdout, 1, 1) term.cursor.goup(1) term.cursor.godown(1) @@ -117,6 +118,10 @@ print(colors.red, 'hello', colors.reset) Place the cursor at (`x`, `y`). +### `term.cursor.jump([opt_file], x, y)` + +An alias for `term.cursor.goto`. + ### `term.cursor.goup([opt_file], nlines)` Moves the cursor up `nlines` lines. -- cgit v1.2.3-55-g6feb