feat: add menu to toggle solved state

This commit is contained in:
2025-11-28 18:29:58 +01:00
parent c75a882e2c
commit 080f2b51c7
5 changed files with 154 additions and 17 deletions

View File

@@ -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)