`stdio.prompt` hangs on Linux
Using stdio.prompt hangs on linux. Doesn't seem to affect windows users after asking some peers to test it for me
Repro:
- Run
stdio.promptin any script - Run the script
- The prompt should hang
local stdio = require("@lune/stdio")
local ok = stdio.prompt("confirm", "Confirm me")
print(ok)
OS: Arch Linux x86_64 Kernel: 6.10.5-arch1-1
I'm not able to reproduce on Linux - how did you install Lune? Was it via rokit?
I'm not able to reproduce on Linux - how did you install Lune? Was it via
rokit?
Yes. I've reinstalled my OS since then with my package manager's version instead of rokit and it seems to work fine. Currently not in the place to test rokit's version vs. package manager.
Feel free to close
I've seen such behavior on older versions of Rokit, might in fact be fixed on the latest version. This issue can be closed if someone can confirm that this cannot be reproduced on the latest version of Rokit and Lune.