mirror of https://github.com/Hilbis/Hilbish
fix(greenhouse): remove goro usage
parent
30830ed6ed
commit
017702ea0d
|
@ -284,9 +284,11 @@ function Greenhouse:initUi()
|
||||||
ansikit.clear(true)
|
ansikit.clear(true)
|
||||||
self:draw()
|
self:draw()
|
||||||
|
|
||||||
hilbish.goro(function()
|
|
||||||
while not done do
|
while not done do
|
||||||
local c = read()
|
local c = read()
|
||||||
|
self:keybind('Ctrl-Q', function()
|
||||||
|
done = true
|
||||||
|
end)
|
||||||
self:keybind('Ctrl-D', function()
|
self:keybind('Ctrl-D', function()
|
||||||
done = true
|
done = true
|
||||||
end)
|
end)
|
||||||
|
@ -299,11 +301,6 @@ function Greenhouse:initUi()
|
||||||
|
|
||||||
::continue::
|
::continue::
|
||||||
end
|
end
|
||||||
end)
|
|
||||||
|
|
||||||
while not done do
|
|
||||||
--
|
|
||||||
end
|
|
||||||
ansikit.showCursor()
|
ansikit.showCursor()
|
||||||
ansikit.screenMain()
|
ansikit.screenMain()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue