fixup! [inspect] draw key value visually separated
This commit is contained in:
parent
4a75b24d32
commit
464f13336e
|
@ -44,7 +44,7 @@ local function drawLine(termlike, pair)
|
||||||
termlike.setTextColor(colors.white)
|
termlike.setTextColor(colors.white)
|
||||||
local value = tostring(pair.value)
|
local value = tostring(pair.value)
|
||||||
local padding = winhlp.alignRightPadding(termlike, #value + 1)
|
local padding = winhlp.alignRightPadding(termlike, #value + 1)
|
||||||
termlike.write(string.format("%" .. padding .. "s", " "))
|
termlike.write(string.format("%" .. padding+1 .. "s", " "))
|
||||||
termlike.write(value)
|
termlike.write(value)
|
||||||
end
|
end
|
||||||
listview.setDrawEntryFunc(drawLine)
|
listview.setDrawEntryFunc(drawLine)
|
||||||
|
|
Loading…
Reference in a new issue