Skip to content

Commit

Permalink
GUI: Remove code that closes debugger if # or ~ keys are pressed
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Sep 5, 2017
1 parent 54ec788 commit 0b9b3e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gui/console.cpp
Expand Up @@ -480,9 +480,7 @@ void ConsoleDialog::handleKeyDown(Common::KeyState state) {
}

void ConsoleDialog::defaultKeyDownHandler(Common::KeyState &state) {
if (state.ascii == '~' || state.ascii == '#') {
slideUpAndClose();
} else if (state.hasFlags(Common::KBD_CTRL)) {
if (state.hasFlags(Common::KBD_CTRL)) {
specialKeys(state.keycode);
} else if ((state.ascii >= 32 && state.ascii <= 127) || (state.ascii >= 160 && state.ascii <= 255)) {
for (int i = _promptEndPos - 1; i >= _currentPos; i--)
Expand Down

0 comments on commit 0b9b3e3

Please sign in to comment.