Skip to content

mouse not works in builtin terminal for ncurses app #21106

Closed

Description

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

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

Metadata

Assignees

No one assigned

    Labels

    bugissues reporting wrong behaviorterminalbuilt-in :terminal or :shell

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions