Remove the old bash

This commit is contained in:
Ryan T
2026-01-15 15:56:48 -05:00
parent df1fa69402
commit c854b1eab8

View File

@@ -1,24 +0,0 @@
local args={...}
<<<<<<< HEAD
local sys = require("sys")
=======
local os=require("os")
local io=require("io")
local text=""
local blockKeyEvents=false
io.link(io.focas)
os.hookSignal("keyTyped", function(_, screen, key)
if blockKeyEvents then return end
if key == "\n" then
blockKeyEvents=true
elseif key == "\b" then
text=text:sub(1,#text-1)
io.stdout.printInline("\b")
else
text=text..key
io.stdout.printInline(key)
end
end)
>>>>>>> 9b268810a7ea44e586d5faf6e2717f1d02497c03