Opened 7 years ago

Closed 7 years ago

#55775 closed defect (fixed)

neovim @0.2.2: mouse broken with ncurses @6.1

Reported by: yan12125 (Chih-Hsuan Yen) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: neovim

Description

The issue was originally reported at [1]. It was reported for breakage on Arch Linux, while MacPorts is also affected. There's a fixed in [2]. As the 0.2.3 milestone is still far away [3], could you consider backporting the fix? Or creating a neovim-devel port is also fine.

I've tested git-master of neovim on iTerm2 and it works fine. Mouse functions are back.

[1] https://github.com/neovim/neovim/issues/7932

[2] https://github.com/neovim/neovim/commit/3a5721e91ba890718319213154ba6964c9dca4d2

[3] https://github.com/neovim/neovim/milestone/18

Attachments (2)

Portfile-neovim.diff (659 bytes) - added by stevecheckoway (Stephen Checkoway) 7 years ago.
patch-src-nvim-tui-tui.c.diff (622 bytes) - added by stevecheckoway (Stephen Checkoway) 7 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: raimue removed
Owner: set to raimue
Status: newassigned

Changed 7 years ago by stevecheckoway (Stephen Checkoway)

Attachment: Portfile-neovim.diff added

Changed 7 years ago by stevecheckoway (Stephen Checkoway)

comment:2 Changed 7 years ago by stevecheckoway (Stephen Checkoway)

The diff applies cleanly to v0.2.2 and restores mouse support. I've been using it for a few days without issues. I attached the source code patch and the Portfile diff.

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Keywords: haspatch added

comment:4 Changed 7 years ago by raimue (Rainer Müller)

comment:5 Changed 7 years ago by stevecheckoway (Stephen Checkoway)

Resolution: fixed
Status: assignedclosed

In 0f9cf7223fbf986f2feb5b630da66b615df59612/macports-ports:

neovim: Restore mouse support

Neovim's mouse support was broken by an update to ncurses. Apply the
upstream patch to fix it.

Upstream: https://github.com/neovim/neovim/commit/3a5721e91ba890718319213154ba6964c9dca4d2
Closes: #55775

Note: See TracTickets for help on using tickets.