diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-08-02 17:17:31 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-08-02 16:17:31 -0700 |
| commit | 4c3b4c7fe03bcc7e70fd846b954ffc83bdbcfaa3 (patch) | |
| tree | 6cc4fe149b6e84507af7ecb6290fa7fc238c179b /hotline/client.go | |
| parent | c1ab228e2b991fba3ff2111668ddfb0d3be3125d (diff) | |
Improve formatting of file size display
Diffstat (limited to 'hotline/client.go')
| -rw-r--r-- | hotline/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/client.go b/hotline/client.go index 5016a50..fb3f4e7 100644 --- a/hotline/client.go +++ b/hotline/client.go @@ -288,7 +288,7 @@ func handleGetFileNameList(c *Client, t *Transaction) (res []Transaction, err er } else { size := binary.BigEndian.Uint32(fn.FileSize) / 1024 - node := tview.NewTreeNode(fmt.Sprintf(" %-30s %15v KB", fn.Name, size)) + node := tview.NewTreeNode(fmt.Sprintf(" %-40s %10v KB", fn.Name, size)) node.SetReference(&fn) root.AddChild(node) } |