-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
SudoWrite is stuck after typing password #45
Comments
I have the same problem. |
I think we could probably drop the |
To answer the actual questions:
|
I'm not sure how to start implementing this myself but it crossed my mind that perhaps it could be possible to use |
Well On a related note, I did switch things up to use |
To tell the truth, The problem was experienced with neovim and without
GUI.
|
Oh that's a whole nother kettle of fish. Neovim essentially forces you to use |
The neovim issue is this neovim/neovim#1716 . |
I just changed it use |
I get this weird behavior: After typing the password and pressing
Enter
, the shell seems to be stuck and I have to press a few times in order to stop it, Afterwards the file is not saved and I don't gain sudo permissions. I tried change thefunction! s:SudoWriteCmd()
and it worked, but it seems weird to make a pull request about it because I don't know what doesn't work in the original function.my version for the function is as follow:
And your version for the execute command is:
What is the purpose of
> /dev/null
? Why wouldn't you keep it simple like in my version?The text was updated successfully, but these errors were encountered: