summaryrefslogtreecommitdiffstats
path: root/layout
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-02-25 14:02:44 -0600
committerSean E. Russell <ser@ser1.net>2020-02-25 14:22:20 -0600
commit11c33726aa01bf27a6f25e4c13eed0cf382473f5 (patch)
tree42353da6710954348deb8824ee642d00b22cb4b4 /layout
parent8d767a448ea768f3fbad911f8fe38131a5044951 (diff)
Adds charge/discharge to power widget.
Issue tracking
Diffstat (limited to 'layout')
-rw-r--r--layout/layout.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/layout/layout.go b/layout/layout.go
index dabae82..875bb81 100644
--- a/layout/layout.go
+++ b/layout/layout.go
@@ -59,6 +59,8 @@ 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) ([]interface{}, [][]widgetRule) {
+ // FIXME: 2\:x\\n2\:y\\n2\:z\\na isn't laying out correctly
+
// Recursive function #3. See the comment in deepFindProc.
if len(rowDefs) < 1 {
return nil, [][]widgetRule{}