Describe the bug
CraftOS-PC becomes unresponsive when the frozen terminal gets resized. The issue does not depend on the GraphicsMode set.
To Reproduce
Steps to reproduce the behavior:
Freeze the terminal using term.setFrozen(true).
Try to resize the terminal.
CraftOS-PC will now become unresponsive and use 100% of one of the cores of the CPU.
Here is the code that may reproduce it:
term.setFrozen(true)
for i = 1, 100 do
os.pullEventRaw()
end
term.setFrozen(false)
Expected behavior
CraftOS-PC should not become unresponsive upon resizing.
Screenshots
(Going step by step through debugger, which also becomes unresponsive at the end together with the terminal)
Environment:
OS: Linux
OS Version: Ubuntu 22.04 Kernel 5.15
CraftOS-PC Version: v2.8.1
Compiled from source? Yes
Additional context
The issue became first apparent to me when I tried to resize the terminal while running my game engine Obsi with graphics mode on my own fork. This issue is replicatable on Accelerated version of the CraftOS-PC that wasn't compiled from source.
Describe the bug CraftOS-PC becomes unresponsive when the frozen terminal gets resized. The issue does not depend on the GraphicsMode set.
To Reproduce Steps to reproduce the behavior:
term.setFrozen(true)
.Expected behavior CraftOS-PC should not become unresponsive upon resizing.
Screenshots (Going step by step through debugger, which also becomes unresponsive at the end together with the terminal)
Environment:
Additional context The issue became first apparent to me when I tried to resize the terminal while running my game engine Obsi with graphics mode on my own fork. This issue is replicatable on Accelerated version of the CraftOS-PC that wasn't compiled from source.