From 6b79e5a370fb9f62dea0895b4a8e637309b4f4c2 Mon Sep 17 00:00:00 2001 From: Bradley Cicenas Date: Mon, 11 Nov 2019 22:04:25 +0000 Subject: [PATCH] remove unused static col width --- cwidgets/compact/util.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/cwidgets/compact/util.go b/cwidgets/compact/util.go index ec9b149..9722c54 100644 --- a/cwidgets/compact/util.go +++ b/cwidgets/compact/util.go @@ -10,18 +10,6 @@ import ( const colSpacing = 1 -// per-column width. 0 == auto width -var colWidths = []int{ - 5, // status - 0, // name - 0, // cid - 0, // cpu - 0, // memory - 0, // net - 0, // io - 4, // pids -} - func centerParText(p *ui.Par) { var text string var padding string