mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-14 21:26:17 +00:00
Added start/stop keys.
Added more extensive download status information where only tracker status used to be. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@279 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "canvas.h"
|
||||
#include "utils.h"
|
||||
#include "window_download_list.h"
|
||||
|
||||
namespace display {
|
||||
@@ -70,9 +71,7 @@ WindowDownloadList::redraw() {
|
||||
(double)itr->get_download().get_rate_down() / 1024.0,
|
||||
(double)itr->get_download().get_bytes_up() / (double)(1 << 20));
|
||||
|
||||
m_canvas->print(0, pos++, "%c Tracker: %s",
|
||||
itr == *m_focus ? '*' : ' ',
|
||||
itr->get_download().is_tracker_busy() ? "Connecting" : itr->get_tracker_msg().c_str());
|
||||
m_canvas->print(0, pos++, "%c %s", itr == *m_focus ? '*' : ' ', print_download_status(&*itr).c_str());
|
||||
|
||||
++itr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user