kamiyaa / joshuto

ranger-like terminal file manager written in Rust
https://crates.io/crates/joshuto
GNU Lesser General Public License v3.0
3.46k stars 154 forks source link

Joshuto freezes when launched from a zsh keybinding. #278

Open monomadic opened 1 year ago

monomadic commented 1 year ago

Something like this:

function jcd() {
    joshuto
}; zle -N jcd;
bindkey '^ ' jcd;

Will cause joshuto to lock up (no keyboard input works). Unsure if it is hard frozen in some loop or is just not responding to key events. Calling this same function like this: jcd() works just fine.

I have tried a few different terminal emulators so it's either zshell or joshuto itself. This mechanism works fine with lf, ranger etc.