Skip to content
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

Terminal borked when piping content to Vim #4

Closed
mickael-menu opened this issue Feb 28, 2021 · 0 comments
Closed

Terminal borked when piping content to Vim #4

mickael-menu opened this issue Feb 28, 2021 · 0 comments
Labels
bug Something isn't working
Projects

Comments

@mickael-menu
Copy link
Collaborator

When setting vim for the editor, the terminal is borked after creating a note with a piped input:

$ echo borking | zk new
Vim: Warning: Input is not from a terminal

This works fine with Neovim though (editor = nvim).

Most likely caused by spawning Vim with the same stdin as zk. Could be fixed by running Vim with vim file </dev/tty.

@mickael-menu mickael-menu added the bug Something isn't working label Feb 28, 2021
@mickael-menu mickael-menu added this to Backlog in zk via automation Feb 28, 2021
zk automation moved this from Backlog to Done Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
zk
Done
Development

No branches or pull requests

1 participant