Neovim: Reporting the cursor position requires pressing enter

Created on 2 Feb 2016  路  3Comments  路  Source: neovim/neovim

Very simple and easy to reproduce.

First open a normal terminal and run echo -e "\033[6n" && cat

You should see something like ^[[58;1R

Thats great, its reporting the cursor position. Try the same in a neovim terminal. No reporting until you press enter for some reason.

:terminal bug

Most helpful comment

No. I suspect it might be the result of nvim not correctly applying the required termios fiddlings to the pty/tty device pair it created. Or maybe somewhere else in code that isn't flushing bytes in/out in a timely fashion

All 3 comments

@justinmk shouldn't this be labeled a bug? its very simple to reproduce.

@leonerd Is this expected behavior in libvterm?

No. I suspect it might be the result of nvim not correctly applying the required termios fiddlings to the pty/tty device pair it created. Or maybe somewhere else in code that isn't flushing bytes in/out in a timely fashion

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DanySpin97 picture DanySpin97  路  3Comments

JelteF picture JelteF  路  3Comments

davidgranstrom picture davidgranstrom  路  3Comments

amiryal picture amiryal  路  3Comments

justinmk picture justinmk  路  3Comments