configurator summary enhancements

This commit is contained in:
Mikayla Fischler
2025-02-26 18:38:21 -05:00
parent 5fc8912590
commit 1971153dae
10 changed files with 26 additions and 12 deletions

View File

@@ -385,7 +385,7 @@ function system.create(tool_ctl, main_pane, cfg_sys, divs, style, exit)
local c = tri(alternate, g_lg_fg_bg, cpair(colors.gray,colors.white))
alternate = not alternate
if string.len(val) > val_max_w then
if (string.len(val) > val_max_w) or string.find(val, "\n") then
local lines = util.strwrap(val, inner_width)
height = #lines + 1
end

View File

@@ -20,7 +20,7 @@ local pocket = require("pocket.pocket")
local renderer = require("pocket.renderer")
local threads = require("pocket.threads")
local POCKET_VERSION = "v0.13.0-beta"
local POCKET_VERSION = "v0.13.1-beta"
local println = util.println
local println_ts = util.println_ts