镜像自地址
https://github.com/sammy-ette/Hilbish
已同步 2025-08-10 02:52:03 +00:00
feat: add clear and exec command
这个提交包含在:
父节点
e5c8e5eaff
当前提交
9eaa8ebe17
7
nature/commands/clear.lua
普通文件
7
nature/commands/clear.lua
普通文件
@ -0,0 +1,7 @@
|
|||||||
|
local ansikit = require 'ansikit'
|
||||||
|
local commander = require 'commander'
|
||||||
|
|
||||||
|
commander.register('clear', function()
|
||||||
|
ansikit.clear(true)
|
||||||
|
ansikit.cursorTo(0, 0)
|
||||||
|
end)
|
5
nature/commands/exec.lua
普通文件
5
nature/commands/exec.lua
普通文件
@ -0,0 +1,5 @@
|
|||||||
|
local commander = require 'commander'
|
||||||
|
|
||||||
|
commander.register('exec', function(args)
|
||||||
|
hilbish.exec(args[1])
|
||||||
|
end)
|
正在加载...
x
在新工单中引用
屏蔽一个用户