lune icon indicating copy to clipboard operation
lune copied to clipboard

`stdio.prompt` hangs on Linux

Open lrockreal opened this issue 1 year ago • 3 comments

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.prompt in any script
  • Run the script
  • The prompt should hang
local stdio = require("@lune/stdio")
local ok = stdio.prompt("confirm", "Confirm me")
print(ok)

image

OS: Arch Linux x86_64 Kernel: 6.10.5-arch1-1

lrockreal avatar Aug 20 '24 08:08 lrockreal

I'm not able to reproduce on Linux - how did you install Lune? Was it via rokit?

CompeyDev avatar Aug 21 '24 12:08 CompeyDev

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

lrockreal avatar Oct 19 '24 22:10 lrockreal

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.

CompeyDev avatar Oct 20 '24 07:10 CompeyDev