woops, left debug text in code

This commit is contained in:
payonel 2020-05-14 20:58:35 -07:00
parent 5cb4dc5537
commit f9e84b3fd9

View File

@ -5,8 +5,6 @@ local sh = require("sh")
local args = shell.parse(...) local args = shell.parse(...)
local t = type
shell.prime() shell.prime()
if #args == 0 then if #args == 0 then
@ -21,7 +19,6 @@ if #args == 0 then
if tty.getCursor() > 1 then if tty.getCursor() > 1 then
io.write("\n") io.write("\n")
end end
io.write("type:", t(type), '\n')
io.write(sh.expand(os.getenv("PS1") or "$ ")) io.write(sh.expand(os.getenv("PS1") or "$ "))
end end
tty.window.cursor = input_handler tty.window.cursor = input_handler