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

neovim sends terminal control codes in silent Ex mode #4640

Closed
rkitover opened this issue Apr 24, 2016 · 1 comment
Closed

neovim sends terminal control codes in silent Ex mode #4640

rkitover opened this issue Apr 24, 2016 · 1 comment
Labels

Comments

@rkitover
Copy link

  • Neovim version: master
  • [x ] Vim behaves differently?
    • Vim version: 7.4
  • Operating system/version: Mac OS X El Capitan
  • Terminal name/version: iterm latest
  • $TERM: screen-256color

Actual behaviour

This command flashes the screen to blank and back:

nvim -Es +'sleep 1100 m' +q

Expected behaviour

No terminal control codes should be printed.

Steps to reproduce using nvim -u NONE

nvim -u NONE -Es +'sleep 1100 m' +q
rkitover added a commit to rkitover/vimpager that referenced this issue Apr 24, 2016
The vim -Es command to sleep for 1.1s in vimcat flashes the screen when
vim is neovim, fix this by adding >/dev/null.

See neovim/neovim#4640.
rkitover referenced this issue in rkitover/vimpager Apr 24, 2016
On Windows and Solaris stream output to a file instead of a fifo, and
give tail -f 1.1s to catch up at the end.

This leads to jerkier output than a working fifo.
@justinmk
Copy link
Member

Try --headless:

nvim --headless -u NONE -Es +'sleep 1100 m' +q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants