refactor!: remove messages command

notifications
sammyette 2023-07-10 18:07:11 -04:00
parent 466ca06f79
commit fe1db697ba
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 0 additions and 12 deletions

View File

@ -74,16 +74,4 @@ function hilbish.messages.all()
return M._messages
end
commander.register('messages', function(_, sinks)
for idx = counter, 1, -1 do
local msg = M._messages[idx]
if msg then
local heading = lunacolors.format(string.format('Message {cyan}#%d{reset}: %s', msg.index, msg.title))
sinks.out:writeln(heading)
sinks.out:writeln(string.rep('=', string.len(heading)))
sinks.out:writeln(msg.text)
end
end
end)
return M