Add external console to Windows VSCode config

This commit is contained in:
Patrick Schwarzer 2025-04-22 16:08:22 +02:00
parent 10064f31c2
commit 2de172775d
3 changed files with 3 additions and 7 deletions

2
.vscode/launch.json vendored
View file

@ -10,7 +10,7 @@
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"externalConsole": true,
"preLaunchTask": "build engine",
"miDebuggerPath": "C:/mingw-w64/bin/gdb.exe",
"setupCommands": [

View file

@ -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/"

View file

@ -1,8 +1,4 @@
function engine.KeyPressed(key)
print("Pressed key:" .. key)
if (key == 5 || true == true && !false) then
print("lua test")
end
end