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:
rakshasa
2005-02-15 21:59:35 +00:00
parent f348196f2e
commit 46120cbb30
16 changed files with 182 additions and 71 deletions
+8 -8
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;
@@ -64,19 +64,19 @@ TextInput::pressed(int key) {
break;
default:
return false;
//return false;
// Testcode.
// if (key == KEY_ENTER || key == '\n')
// return false;
if (key == KEY_ENTER || key == '\n')
return false;
// str << "\\x" << std::hex << key;
str << "\\x" << std::hex << key;
// Base::insert(m_pos, str.str());
Base::insert(m_pos, str.str());
// m_pos += str.str().length();
m_pos += str.str().length();
// return true;
return true;
}
}