typing '~' doesn't close the lua console

This commit is contained in:
jacob1 2013-01-25 22:57:51 -05:00
parent 4f59211ba8
commit 1d97f1c985
2 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View File

@ -46,6 +46,8 @@ Makefile.me
*.project *.project
*.cproject *.cproject
*.settings *.settings
*.cbp
*.layout
config.log config.log
*.sconsign.dblite *.sconsign.dblite
*.sconf_temp *.sconf_temp

View File

@ -37,7 +37,10 @@ void ConsoleView::DoKeyPress(int key, Uint16 character, bool shift, bool ctrl, b
{ {
case KEY_ESCAPE: case KEY_ESCAPE:
case '`': case '`':
c->CloseConsole(); if (character != '~')
c->CloseConsole();
else
Window::DoKeyPress(key, character, shift, ctrl, alt);
break; break;
case KEY_RETURN: case KEY_RETURN:
case KEY_ENTER: case KEY_ENTER: