mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-09 03:32:29 +00:00
Fixed minor issues.
This commit is contained in:
@@ -47,22 +47,6 @@ TextInput::pressed(int key) {
|
||||
if (m_bindings.pressed(key)) {
|
||||
return true;
|
||||
|
||||
} else if (m_alt) {
|
||||
m_alt = false;
|
||||
|
||||
switch (key) {
|
||||
// case 'b':
|
||||
// Base::insert(m_pos, "M^b");
|
||||
// break;
|
||||
|
||||
// case 'f':
|
||||
// Base::insert(m_pos, "M^f");
|
||||
// break;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
} else if (key >= 0x20 && key < 0x7F) {
|
||||
Base::insert(m_pos++, 1, key);
|
||||
|
||||
@@ -113,11 +97,6 @@ TextInput::pressed(int key) {
|
||||
Base::erase(m_pos, size()-m_pos);
|
||||
break;
|
||||
|
||||
case 0x1B:
|
||||
m_alt = true;
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user