mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-08 11:12:31 +00:00
Fixing bad backspace handling for some remote shells.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@324 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -32,7 +32,7 @@ TextInput::pressed(int key) {
|
||||
|
||||
} else {
|
||||
switch (key) {
|
||||
case 0x08:
|
||||
case 0x7F:
|
||||
case KEY_BACKSPACE:
|
||||
if (m_pos != 0)
|
||||
Base::erase(--m_pos, 1);
|
||||
|
||||
Reference in New Issue
Block a user