fixed the memory corruption

Stinky Lua
This commit is contained in:
2026-02-15 21:16:03 +01:00
parent 76589e67dd
commit 85d08a0a34
4 changed files with 12 additions and 35 deletions

View File

@@ -30,7 +30,6 @@ function tty.getViewport()
if window.fullscreen and screen and not screen_cache[screen] then
screen_cache[screen] = true
window.width, window.height = window.gpu.getViewport()
debug.print("viewport is", window.width, window.height)
end
return window.width, window.height, window.dx, window.dy, window.x, window.y