[inspect] add draw entry function

This commit is contained in:
Ben 2024-06-02 21:47:51 +02:00
parent e650a16f0e
commit e251e28598
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -34,6 +34,13 @@ local function estimatedHeight()
return #keys
end
local function drawLine(termlike, line)
termlike.setBackgroundColor(colors.black)
termlike.setTextColor(colors.white)
termlike.write(line)
end
listview.setDrawEntryFunc(drawLine)
return {
name="inspect",