aboutsummaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
Diffstat (limited to 'term')
-rw-r--r--term/cursor.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/term/cursor.lua b/term/cursor.lua
index b7d09cd..e8480a9 100644
--- a/term/cursor.lua
+++ b/term/cursor.lua
@@ -20,7 +20,7 @@
20 20
21local term = require 'term.core' 21local term = require 'term.core'
22 22
23return { 23local cursor = {
24 ['goto'] = term.maketermfunc '%d;%dH', 24 ['goto'] = term.maketermfunc '%d;%dH',
25 goup = term.maketermfunc '%d;A', 25 goup = term.maketermfunc '%d;A',
26 godown = term.maketermfunc '%d;B', 26 godown = term.maketermfunc '%d;B',
@@ -29,3 +29,7 @@ return {
29 save = term.maketermfunc 's', 29 save = term.maketermfunc 's',
30 restore = term.maketermfunc 'u', 30 restore = term.maketermfunc 'u',
31} 31}
32
33cursor.jump = cursor['goto']
34
35return cursor