Add external console to Windows VSCode config
This commit is contained in:
parent
10064f31c2
commit
2de172775d
3 changed files with 3 additions and 7 deletions
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
|
@ -10,7 +10,7 @@
|
|||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"externalConsole": true,
|
||||
"preLaunchTask": "build engine",
|
||||
"miDebuggerPath": "C:/mingw-w64/bin/gdb.exe",
|
||||
"setupCommands": [
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
|
||||
#include "lua.h"
|
||||
|
||||
#define LUAJIT_VERSION "LuaJIT 2.1.1745036828"
|
||||
#define LUAJIT_VERSION "LuaJIT 2.1.1745159682"
|
||||
#define LUAJIT_VERSION_NUM 20199 /* Deprecated. */
|
||||
#define LUAJIT_VERSION_SYM luaJIT_version_2_1_1745036828
|
||||
#define LUAJIT_VERSION_SYM luaJIT_version_2_1_1745159682
|
||||
#define LUAJIT_COPYRIGHT "Copyright (C) 2005-2025 Mike Pall"
|
||||
#define LUAJIT_URL "https://luajit.org/"
|
||||
|
||||
|
|
4
test.lua
4
test.lua
|
@ -1,8 +1,4 @@
|
|||
|
||||
function engine.KeyPressed(key)
|
||||
print("Pressed key:" .. key)
|
||||
|
||||
if (key == 5 || true == true && !false) then
|
||||
print("lua test")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue