-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shell not blocking #2184
Comments
I just tested it and didn't find any unusual behavior. Could you be more specific? For example, what is the behavior you're expecting, and what is the current behavior? Which version exactly is "before 0.4.2", and what was its behavior like? A video would be really helpful. |
The behavior is that the command is executed and instead of waiting for a key to be hit before returning to yazi, it immediately returns and I never see the output of the shell command . If I then hit "q" I can see the output of the command I entered. |
This is the expected behavior, this is how If your app isn't a blocking interactive program (like vim, helix, etc.), it will return to Yazi immediately after execution. It should always behave this way. I'm surprised you're saying that previous versions didn't work like this. Could you specify which version you're referring to? |
I guess I must have once set the shell block example you gave in tops and lost that in my keybindings. Sorry. It wasn't obvious going back and reading the config docs about --block that it launches the program directly and doesn't do what the tip says. Any reason you don't make the keybinding in the tip part of the default keybindings. |
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
wezterm / tmux
yazi --debug
outputDescribe the bug
I have been using yazi and after 4.2 I started seeing this issue. I enter a ":" to get a blocking shell. The shell command executes but yazi doesn't block. I deleted my custom yazi config directory and the .local/state/.yazi directories and installed the latest nightly. Problem still happens. I also tried to use konsole / bahs/ no tmux instead of my usual setup and same issue.
Minimal reproducer
Hit ":" and enter ls
Anything else?
No response
Checklist
yazi --debug
) input box to the nightly that I triedmv ~/.config/yazi ~/.config/yazi-backup
)The text was updated successfully, but these errors were encountered: