Closed
Description
openedon Nov 18, 2022
Neovim version (nvim -v)
NVIM v0.8.0
Vim (not Nvim) behaves the same?
not tested
Operating system/version
archlinux
Terminal name/version
xterm 375
$TERM environment variable
in xterm it is xterm
, in nvim terminal it is xterm-256color
Installation
system package manager
How to reproduce the issue
$ xterm
$ nvim --clean +'terminal nnn'
# https://github.com/jarun/nnn$ nvim --clean +'terminal tig'
# https://github.com/jonas/tig
Expected behavior
mouse works in nvim's builtin terminal for ncurses app;
Actual behavior
mouse left, right click and scroll up, down do not work as expected, and the two programs are ncurses based.
if I run them in xterm directly, the mouse works well.
more tests
If i do as this, then the mouse works well:
$ xterm
- `$ nvim --clean +'terminal'
$ echo '\x1b[?1002h
# now we are in nvim's builtin terminal$ nnn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment