summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index cfae2e4..2f19b4b 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,7 @@ Usage
26 term.clear() -- clears the screen 26 term.clear() -- clears the screen
27 term.cleareol() -- clears from the cursor to the end of the line 27 term.cleareol() -- clears from the cursor to the end of the line
28 term.cursor.goto(1, 1) 28 term.cursor.goto(1, 1)
29 term.cursor.jump(1, 1) -- jump is just an alias for goto
29 term.cursor.goto(io.stdout, 1, 1) 30 term.cursor.goto(io.stdout, 1, 1)
30 term.cursor.goup(1) 31 term.cursor.goup(1)
31 term.cursor.godown(1) 32 term.cursor.godown(1)
@@ -117,6 +118,10 @@ print(colors.red, 'hello', colors.reset)
117 118
118Place the cursor at (`x`, `y`). 119Place the cursor at (`x`, `y`).
119 120
121### `term.cursor.jump([opt_file], x, y)`
122
123An alias for `term.cursor.goto`.
124
120### `term.cursor.goup([opt_file], nlines)` 125### `term.cursor.goup([opt_file], nlines)`
121 126
122Moves the cursor up `nlines` lines. 127Moves the cursor up `nlines` lines.