aboutsummaryrefslogtreecommitdiff
path: root/hotline
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-02 17:17:31 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-02 16:17:31 -0700
commit4c3b4c7fe03bcc7e70fd846b954ffc83bdbcfaa3 (patch)
tree6cc4fe149b6e84507af7ecb6290fa7fc238c179b /hotline
parentc1ab228e2b991fba3ff2111668ddfb0d3be3125d (diff)
Improve formatting of file size display
Diffstat (limited to 'hotline')
-rw-r--r--hotline/client.go2
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)
}