mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
remove unused static col width
This commit is contained in:
parent
a60861437f
commit
d34b9c2bf6
@ -10,18 +10,6 @@ import (
|
|||||||
|
|
||||||
const colSpacing = 1
|
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) {
|
func centerParText(p *ui.Par) {
|
||||||
var text string
|
var text string
|
||||||
var padding string
|
var padding string
|
||||||
|
Loading…
Reference in New Issue
Block a user