readd option to change max curses

This commit is contained in:
pepopo978
2024-06-05 17:31:59 -07:00
parent 35eb02b71e
commit 2b874147a3
+18
View File
@@ -306,6 +306,24 @@ Cursive.cmdtable = {
name = " ",
order = 21,
},
["maxcurses"] = {
type = "range",
name = "Max Curses",
desc = "Max Curses",
order = 22,
min = 1,
max = 5,
step = 1,
get = function()
return Cursive.db.profile.maxcurses
end,
set = function(v)
if v ~= Cursive.db.profile.maxcurses then
Cursive.db.profile.maxcurses = v
Cursive.UpdateFramesFromConfig()
end
end,
},
["maxrow"] = {
type = "range",
name = "Max Rows",