-
Notifications
You must be signed in to change notification settings - Fork 326
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
Custom delete command needs two "y" keystrokes #554
Comments
@yanzhang0219 The issue is likely related to #480 which I can't do much at the moment. |
Okay I see. Thank you. |
There has been multiple changes in regards to this and I'm not sure if we forgot to close this issue or the issue still persists. I'm closing this issue now. Feel free to reopen if the issue is reproducible with version r23. |
Thank you. I just now tested it and I confirm this bug is fixed. 👍 |
Hello,
First I put the info of my setup here:
I tested the custom
delete
command in thelfrc
example. I need to press twoy
to delete a file. Is this expected?The custom command and keybinding in the
lfrc
:Then I create a new temp file by
touch temp
under my home folder for this testing. Next, I open lf and pressD
on this temp file. It goes back to the shell to ask mey
orN
, I pressy
followed byEnter
. The cursor moves to the next line waiting for me to press another key. Next,Enter
, it goes back to lf but the deletion fails. I quit lf, and I can see an error showing--: line 6: [: =: unary operator expected
. I attached a short video below as a demo.Screen.Recording.2021-01-07.at.8.59.21.AM.mov
y
again, it goes back to lf and the deletion successes. A short video attached below.Screen.Recording.2021-01-07.at.9.02.45.AM.mov
is this behavior (two keystrokes needed) expected?
Thank you very much.
The text was updated successfully, but these errors were encountered: