Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAstro <astro@spaceboyz.net>2014-11-22 04:39:54 +0300
committerAstro <astro@spaceboyz.net>2014-11-22 04:39:54 +0300
commite5edb8447e503c14ce34bc05cd1c9191188f88b1 (patch)
treef7aa8371abf60452e9eef150b9c13c494330989a /bin
parent37b7251657acd3cee57ff36ad660c70a0ccfa707 (diff)
display wire upload speed
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cmd.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/cmd.js b/bin/cmd.js
index d3a6bdb..5276353 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -392,6 +392,7 @@ function onReady () {
clivas.line(
'{25+magenta:' + wire.remoteAddress + '} {10:'+bytes(wire.downloaded)+'} ' +
'{10+cyan:' + bytes(wire.downloadSpeed()) + '/s} ' +
+ '{10+red:' + bytes(wire.uploadSpeed()) + '/s} ' +
'{15+grey:' + tags.join(', ') + '}' +
'{15+cyan:' + reqStats.join(' ') + '}'
)