Open metatablecat opened 2 months ago
I can't seem to replicate this. I've faced a similar issue on Linux where the cursor disappears on selection menus on exiting with a SIGINT
, since the ANSI doesn't get reset, but that's a much smaller issue compared to an entire shell crash.
I can't seem to replicate this. I've faced a similar issue on Linux where the cursor disappears on selection menus on exiting with a
SIGINT
, since the ANSI doesn't get reset, but that's a much smaller issue compared to an entire shell crash.
Try it without putting anything in the input field.
I didn't put anything in the field though?
oops im dumb :3
uh yeah im not exactly sure how to repro it specifically, it doesn't always happen from what i've tested so it could be anything? I'll send a picture so it doesn't look like im crazy (im not crazy right?)
Regardless, here's proof of it crashing out of powershell in cmd
Odd, if you face this again, can you give the exit code of powershell? I believe you can get it by echoing %ERRORLEVEL%
in command prompt after powershell exits (I'm not sure though).
/shrug
i can get more detailed info on it in event viewer but github wont allow EVTX
This is most likely to due to the Console Mode changed while using stdio.prompt
left in a state in which powershell does not like. Lune would have to restore the console mode back to original or default state.
This is most likely to due to the Console Mode changed while using
stdio.prompt
left in a state in which powershell does not like. Lune would have to restore the console mode back to original or default state.
Lune doesn't manually depend on the windows API, but rather uses a crate called console
for abstracting around cross-platform terminals. If what you are saying is true, this should be taken up as an issue with the above crate.
this may be a dupllicate of #241 but I'll provide some extra repro steps, it may take a few tries.
Run
lune
and type in these two lines:Next, press Ctrl-C to exit out of the prompt prematurely. Press "up", and powershell will crash. I haven't been able to replicate this behaviour in
cmd