Various minor fixes to the 0.0.1 release.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@277 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-15 01:00:53 +00:00
parent 1f58b0074b
commit ce4c09c143
3 changed files with 44 additions and 3 deletions
+40
View File
@@ -0,0 +1,40 @@
All:
Ctrl-C - Quit
A - Increase Throttle by 1 KiB
Z - Decrease Throttle by 1 KiB
S - Increase Throttle by 5 KiB
X - Decrease Throttle by 5 KiB
D - Increase Throttle by 50 KiB
C - Decrease Throttle by 50 KiB
In main window:
Backspace - Activate text input for inserting urls/file
paths. Arrows/C^f/C^b for navigation, enter/C^m.
Up/Down - Select torrent.
Right - View torrent.
In torrent view:
Up/Down - Select peer.
Left - Back to main.
Right - View peer.
1 - Decrease max uploads
2 - Increase max uploads
3 - Decrease min peers connected
4 - Increase min peers connected
5 - Decrease max peers connected
6 - Increase max peers connected
+1
View File
@@ -13,6 +13,7 @@ rtorrent_LDADD = \
$(top_srcdir)/src/input/libsub_input.a
rtorrent_SOURCES = \
functional.h \
main.cc \
parse.cc \
parse.h \
+3 -3
View File
@@ -9,7 +9,7 @@ namespace input {
bool
TextInput::pressed(int key) {
// std::stringstream str;
//std::stringstream str;
if (m_alt) {
m_alt = false;
@@ -44,15 +44,15 @@ TextInput::pressed(int key) {
break;
case 0x02:
case KEY_LEFT:
case 0x10:
if (m_pos != 0)
--m_pos;
break;
case 0x06:
case KEY_RIGHT:
case 0x0E:
if (m_pos != size())
++m_pos;