added manual mode

This commit is contained in:
Lux Aliaga 2021-05-07 03:36:40 -04:00
parent 8900491c18
commit 77a8d5442f

View file

@ -4,7 +4,7 @@ buttonColor = colors.lightGray
textColor = colors.lightGray
altTextColor = colors.gray
backgroundColor = colors.black
if arg[1] == nil then
function round(n) -- We need a function to round the center of the terminal
return n % 1 >= 0.5 and math.ceil(n) or math.floor(n)
end
@ -29,6 +29,9 @@ else
os.exit()
end
end
else
drive = arg[1]
end
--[[ Instead of calling every status by string, we call the variables storing the strings. This may ease translation if we plan to do it in the future.
]]