2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-01 19:23:24 +00:00

fix(greenhouse): remove goro usage

This commit is contained in:
sammyette 2023-12-26 12:52:39 -04:00
parent 30830ed6ed
commit 017702ea0d
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -284,9 +284,11 @@ function Greenhouse:initUi()
ansikit.clear(true)
self:draw()
hilbish.goro(function()
while not done do
local c = read()
self:keybind('Ctrl-Q', function()
done = true
end)
self:keybind('Ctrl-D', function()
done = true
end)
@ -299,11 +301,6 @@ function Greenhouse:initUi()
::continue::
end
end)
while not done do
--
end
ansikit.showCursor()
ansikit.screenMain()
end