progress but we somehow got heap corruption

must fix the heap corruption
This commit is contained in:
2026-02-15 20:27:47 +01:00
parent 51224a46a2
commit 76589e67dd
6 changed files with 586 additions and 77 deletions

View File

@@ -30,6 +30,7 @@ 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