mirror of https://github.com/Hilbis/Hilbish
feat: add clear and exec command
parent
e5c8e5eaff
commit
9eaa8ebe17
|
@ -0,0 +1,7 @@
|
|||
local ansikit = require 'ansikit'
|
||||
local commander = require 'commander'
|
||||
|
||||
commander.register('clear', function()
|
||||
ansikit.clear(true)
|
||||
ansikit.cursorTo(0, 0)
|
||||
end)
|
|
@ -0,0 +1,5 @@
|
|||
local commander = require 'commander'
|
||||
|
||||
commander.register('exec', function(args)
|
||||
hilbish.exec(args[1])
|
||||
end)
|
Loading…
Reference in New Issue