mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
Fix behavior of delete key, when the cursor is at the end of the input line.
svn-id: r47802
This commit is contained in:
parent
17f198369d
commit
516d44e65c
@ -341,8 +341,10 @@ void ConsoleDialog::handleKeyDown(Common::KeyState state) {
|
||||
break;
|
||||
}
|
||||
case Common::KEYCODE_DELETE:
|
||||
killChar();
|
||||
drawLine(pos2line(_currentPos));
|
||||
if (_currentPos < _promptEndPos) {
|
||||
killChar();
|
||||
drawLine(pos2line(_currentPos));
|
||||
}
|
||||
break;
|
||||
case Common::KEYCODE_PAGEUP:
|
||||
if (state.flags == Common::KBD_SHIFT) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user