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:
rakshasa
2005-03-05 02:05:12 +00:00
parent 9e0db66b58
commit c15d840962
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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);