aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Hoelz <rob@hoelz.ro>2019-02-05 20:33:06 -0600
committerRob Hoelz <rob@hoelz.ro>2019-02-05 20:33:06 -0600
commit375fa065efc9a95b289371cf0eb7bf8b3be0bc9c (patch)
tree539ca30a2ebf944cfe777046698a4b3f1c95c851
parenta0f695d40c271e4fd031ac65d0ac7ee107edc4a8 (diff)
downloadlua-term-main.tar.gz
lua-term-main.tar.bz2
lua-term-main.zip
Add clearend functionmain
Clear from the cursor to the end of the screen
-rw-r--r--term/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/term/init.lua b/term/init.lua
index 8e59ce6..bd2024b 100644
--- a/term/init.lua
+++ b/term/init.lua
@@ -44,6 +44,7 @@ term.cursor = require 'term.cursor'
44 44
45term.clear = term.maketermfunc '2J' 45term.clear = term.maketermfunc '2J'
46term.cleareol = term.maketermfunc 'K' 46term.cleareol = term.maketermfunc 'K'
47term.clearend = term.maketermfunc 'J'
47 48
48term.maketermfunc = nil 49term.maketermfunc = nil
49 50