You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is hard to explain conversationally so i'll try laying it out
What's the bug?
If I run :shell zsh to start a shell session wherever I'm at, then do certain commands, I get this error:
thread 'main' panicked at src/ui/backend.rs:80:32:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
It's testable with sudo -s, but I noticed it happening with lessc, so it can't just be involved with sudo.
How do I replicate it?
Start joshuto
do :shell <whatever shell you like>
do sudo -s, then hit Ctrl-D twice to exit out of both the root shell and the shell joshuto spawned
observe error
Context
Linux version: 6.8.2-arch2-1 joshuto --version output:
The text was updated successfully, but these errors were encountered:
Beethoven-n
changed the title
[BUG] Fatal crash when I return to Joshuto from exiting a shell
[BUG] Fatal crash when I return to joshuto from a shell
Apr 1, 2024
with the merge, it's fixed!
bit of a note though, now it displays the exit code of the program. might have to fix that on my end for my use case but it sounds useful for pretty much every other case
this is hard to explain conversationally so i'll try laying it out
What's the bug?
If I run
:shell zsh
to start a shell session wherever I'm at, then do certain commands, I get this error:It's testable with
sudo -s
, but I noticed it happening withlessc
, so it can't just be involved with sudo.How do I replicate it?
:shell <whatever shell you like>
sudo -s
, then hit Ctrl-D twice to exit out of both the root shell and the shell joshuto spawnedContext
Linux version: 6.8.2-arch2-1
joshuto --version
output:AUR package version: r1343.a103c88-1
Cargo version: 1.77.1
The text was updated successfully, but these errors were encountered: