aboutsummaryrefslogtreecommitdiff
path: root/src/format.nim
diff options
context:
space:
mode:
authorkitsunyan2018-03-13 01:57:33 +0000
committerkitsunyan2018-03-13 01:57:33 +0000
commitab50c748eedce31ecbadf036c9c16facf0160845 (patch)
tree6e37baeb93ff4d5d1d7a3968fcd7582794370ed3 /src/format.nim
parent9a2357c70b7a704877515c0a4418a85a5ccecfcd (diff)
Remove unnecessary discards
Diffstat (limited to 'src/format.nim')
-rw-r--r--src/format.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/format.nim b/src/format.nim
index 49dc5ba..c578a3d 100644
--- a/src/format.nim
+++ b/src/format.nim
@@ -283,11 +283,9 @@ proc printProgressFull*(bar: bool, title: string): ((string, float) -> void, ()
' '.repeat(infoLen - prefix.runeLen - title.runeLen - 1 - timeLeft.len),
' ', timeLeft, indicator, paddedProgressStr, "\x1b[0K\r")
stdout.flushFile()
- discard
proc terminate() {.closure.} =
echo()
- discard
update(" ", 0)