projects
/
cc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e725947
)
Forgot return
author
Olav Bakke Svendsen
<mail@olavbs.no>
Thu, 12 Oct 2023 03:49:48 +0000
(
05:49
+0200)
committer
Olav Bakke Svendsen
<mail@olavbs.no>
Thu, 12 Oct 2023 03:49:48 +0000
(
05:49
+0200)
steam/temporary-coal-feeder.lua
patch
|
blob
|
history
diff --git
a/steam/temporary-coal-feeder.lua
b/steam/temporary-coal-feeder.lua
index 5703f89cda70b3de391ab5ef7e56fbfb4293b71b..af813c0ce0f83ba34c47fd8646651725594ae9ef 100644
(file)
--- a/
steam/temporary-coal-feeder.lua
+++ b/
steam/temporary-coal-feeder.lua
@@
-82,6
+82,7
@@
local spinner_chars = {"\\","-","/","|"}
local spinner = function()
local c = table.remove(spinner_chars)
table.insert(spinner_chars, 1, c)
+ return c
end
local main_timer = os.startTimer(0)
@@
-99,8
+100,8
@@
while true do
elseif e[1] == "timer" and e[2] == spinner_timer then
spinner_timer = os.startTimer(0.5)
local s = spinner()
- main_monitor.set
CursorPos(27,10
)
- m
onitor.setTextColor(1
)
+ main_monitor.set
TextColor(1
)
+ m
ain_monitor.setCursorPos(29,12
)
main_monitor.write(s)
end
end