Hilbish/nature/commands/clear.lua

8 lines
162 B
Lua
Raw Permalink Normal View History

local ansikit = require 'ansikit'
local commander = require 'commander'
commander.register('clear', function()
ansikit.clear(true)
ansikit.cursorTo(0, 0)
end)