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
Vim and other similar shell commands expect to be working with a tty. When the server executes a shell command it uses popen3. Vim complains that STDIN and STDOUT are not TTYs. It then doesn't respond to navigation commands correctly.
Does this affect other commands, e.g.,. passwd?
The text was updated successfully, but these errors were encountered:
In the case of issuing an actual edit or edit-method command though, I think this should execute on the client, with the server sending across the file. When the client has finished editing the file it should be sent back to the server and reloaded (or whatever). IMO the most common interactive shell command is the editor and so if we manage this on the client instead, you would have solved the 90% case. I don't think it's such an issue that .vim doesn't work, as they should really be using edit instead anyway ;)
To support what i described, we'll probably need to refactor the edit and edit-method commands in Pry itself
Vim and other similar shell commands expect to be working with a tty. When the server executes a shell command it uses popen3. Vim complains that STDIN and STDOUT are not TTYs. It then doesn't respond to navigation commands correctly.
Does this affect other commands, e.g.,.
passwd
?The text was updated successfully, but these errors were encountered: