fixup! [inspect] draw key value visually separated

This commit is contained in:
Ben 2024-06-02 23:04:24 +02:00
parent 4a75b24d32
commit 464f13336e
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -44,7 +44,7 @@ local function drawLine(termlike, pair)
termlike.setTextColor(colors.white)
local value = tostring(pair.value)
local padding = winhlp.alignRightPadding(termlike, #value + 1)
termlike.write(string.format("%" .. padding .. "s", " "))
termlike.write(string.format("%" .. padding+1 .. "s", " "))
termlike.write(value)
end
listview.setDrawEntryFunc(drawLine)