From bf84bfe4b0cc386544e88a43537e5ba4568ff8e8 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Wed, 26 Jun 2019 17:18:33 -0700 Subject: [PATCH] Add percentage sign to Transmission download indicator --- modules/transmission/display.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/transmission/display.go b/modules/transmission/display.go index 32fb263a..3d7b2c69 100644 --- a/modules/transmission/display.go +++ b/modules/transmission/display.go @@ -48,7 +48,7 @@ func (widget *Widget) prettyTorrentName(name string) string { func (widget *Widget) torrentPercentDone(torrent *transmissionrpc.Torrent) string { pctDone := *torrent.PercentDone - str := fmt.Sprintf("%3d", int(pctDone*100)) + str := fmt.Sprintf("%3d%%", int(pctDone*100)) if pctDone == 0.0 { str = "[gray::b]" + str