feat: add menu to toggle solved state
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
local utils = {}
|
||||
|
||||
function utils.promptChoices(choices)
|
||||
local c = 1
|
||||
function utils.promptChoices(choices, default)
|
||||
local c = default or 1
|
||||
local ox, oy = term.getCursorPos()
|
||||
while true do
|
||||
term.setCursorPos(ox, oy)
|
||||
|
||||
Reference in New Issue
Block a user