v0.33.0 tui tap for live view and console enhancements
This commit is contained in:
1 parent
a1e9d21d06
commit
87f5576ccf
41 files changed
+4606
-449
No files matched your search
@@ -163,8 +163,9 @@ func (a *app) drawInspector(r ui.Region) {
|
||||
row := r.Sub(at/perCol*colW, 1+at%perCol, colW-1, 1)
|
||||
a.drawLine(row, lines[i], labelW, a.inspect && i == a.insp.cursor)
|
||||
}
|
||||
under := min(r.H-len(help), 2+min(perCol, len(lines)-a.insp.scroll)) // two rows under the last key
|
||||
for i, h := range help {
|
||||
r.TextStyled(2, r.H-len(help)+i, h, style)
|
||||
r.TextStyled(2, under+i, h, style)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user