diff options
author | Sean E. Russell <ser@ser1.net> | 2020-02-18 11:43:55 -0600 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2020-02-18 11:43:55 -0600 |
commit | 2e926c270ff98ab7ac56b1763ef56d47fc229f6a (patch) | |
tree | dc63e83947aac4caecf0b9e6b160f12d767ddd1e /layout | |
parent | 8ee5950308ef08a4f2805486660c677a3dac1bd1 (diff) |
Fixes the dependencies again b/c of broken gopsutil
Diffstat (limited to 'layout')
-rw-r--r-- | layout/layout.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layout/layout.go b/layout/layout.go index 5872cf2..0125223 100644 --- a/layout/layout.go +++ b/layout/layout.go @@ -59,6 +59,7 @@ func Layout(wl layout, c gotop.Config) (*MyGrid, error) { // rows as the largest row span object in the row, and produce an uber-row // containing all that stuff. It returns a slice without the consumed elements. func processRow(c gotop.Config, numRows int, rowDefs [][]widgetRule) (ui.GridItem, [][]widgetRule) { + // FIXME: 3\:A 2\:B\nC should stop consuming rows when all columns are full // Recursive function #3. See the comment in deepFindProc. if len(rowDefs) < 1 { return ui.GridItem{}, [][]widgetRule{} |