summaryrefslogtreecommitdiffstats
path: root/pactest/tests/xfercommand001.py
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-12-16 02:38:32 +0100
committerDan McGee <dan@archlinux.org>2010-03-14 18:39:43 -0500
commite4be3e06af7f96c279851c3f2d7f1d294b8b8e70 (patch)
tree57f094709d2a48a409015d9a29d4fb09c4451e0a /pactest/tests/xfercommand001.py
parente5dce888c09976f1ef4664613c742d0d015e534e (diff)
downloadpacman-e4be3e06af7f96c279851c3f2d7f1d294b8b8e70.tar.xz
callback: use variable length for progressbar text
This fixes FS#17523 We always used a fixed value of 50 for textlen, which is often not enough for download progress bar. At least we can use a bigger width on large terminal (e.g. 60% of width) and keep 50 as minimum. before: nautilus-2.28.4-1-x... 5.7M 789.2K/s 00:00:07 [####################################] 100% after: nautilus-2.28.4-1-x86_64 5.7M 770.7K/s 00:00:08 [##############################] 100% Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/xfercommand001.py')
0 files changed, 0 insertions, 0 deletions