Compare commits

..

2 Commits

Author SHA1 Message Date
neru ad17715e4a feat: clear screen on exit 2025-05-08 13:38:40 -03:00
neru 868663d33f feat: log cmd args on execution 2025-05-08 13:38:29 -03:00
+3 -1
View File
@@ -286,7 +286,7 @@ function processCommand()
end end
if consoleCommands[cmd] then if consoleCommands[cmd] then
log.info("> %s", cmd) log.info("> %s %s", cmd, table.concat(args, " "))
consoleCommands[cmd](args) consoleCommands[cmd](args)
else else
log.warning("Unknown command: %s", cmd) log.warning("Unknown command: %s", cmd)
@@ -477,3 +477,5 @@ while shouldRun do
updateScreen() updateScreen()
pollEvents() pollEvents()
end end
scr.clear()