mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
integrate widget order, toggling into global config and compact grid
This commit is contained in:
@@ -51,6 +51,10 @@ func (row *CompactHeader) Buffer() ui.Buffer {
|
||||
return buf
|
||||
}
|
||||
|
||||
func (row *CompactHeader) clearFieldPars() {
|
||||
row.pars = []*ui.Par{}
|
||||
}
|
||||
|
||||
func (row *CompactHeader) addFieldPar(s string) {
|
||||
p := ui.NewPar(s)
|
||||
p.Height = row.Height
|
||||
|
||||
Reference in New Issue
Block a user