typing '~' doesn't close the lua console
This commit is contained in:
parent
4f59211ba8
commit
1d97f1c985
2
.gitignore
vendored
2
.gitignore
vendored
@ -46,6 +46,8 @@ Makefile.me
|
||||
*.project
|
||||
*.cproject
|
||||
*.settings
|
||||
*.cbp
|
||||
*.layout
|
||||
config.log
|
||||
*.sconsign.dblite
|
||||
*.sconf_temp
|
||||
|
@ -37,7 +37,10 @@ void ConsoleView::DoKeyPress(int key, Uint16 character, bool shift, bool ctrl, b
|
||||
{
|
||||
case KEY_ESCAPE:
|
||||
case '`':
|
||||
if (character != '~')
|
||||
c->CloseConsole();
|
||||
else
|
||||
Window::DoKeyPress(key, character, shift, ctrl, alt);
|
||||
break;
|
||||
case KEY_RETURN:
|
||||
case KEY_ENTER:
|
||||
|
Loading…
Reference in New Issue
Block a user