summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-02-20 08:19:15 -0600
committerSean E. Russell <ser@ser1.net>2020-02-20 08:19:15 -0600
commit7b09a00230e059129e010039a159ef9ce7aecc11 (patch)
tree7583287cfc2fdc277d7d361ec484e17c3016a0af /cmd
parent66ad0f878540dee82ae2c2b5c561754b6480a157 (diff)
Issue #56. Slight improvement in layout algorithm. Still doesn't handle > 2 columns well, but it's more correct and lays the foundation for a correct solution. It's clear, however, that a full table model parser will require a substantial rewrite and, possibly, a change in the layout syntax. That would add substantial complexity, so maybe for some future effort. I'll fix the basic column layout (rowspans at the edges), and then shelve it.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gotop/main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go
index a85f147..9d1f0a5 100644
--- a/cmd/gotop/main.go
+++ b/cmd/gotop/main.go
@@ -423,7 +423,6 @@ func getLayout(conf gotop.Config) io.Reader {
case "battery":
return strings.NewReader(batteryUI)
default:
- log.Printf("layout = %s", conf.Layout)
fp := filepath.Join(conf.ConfigDir, conf.Layout)
fin, err := os.Open(fp)
if err != nil {