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
|
*.project
|
||||||
*.cproject
|
*.cproject
|
||||||
*.settings
|
*.settings
|
||||||
|
*.cbp
|
||||||
|
*.layout
|
||||||
config.log
|
config.log
|
||||||
*.sconsign.dblite
|
*.sconsign.dblite
|
||||||
*.sconf_temp
|
*.sconf_temp
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user