[vim/vim] Regresion in patch 9.2.0110: can't select text in terminal with tmux with Shift + Left-Click + Drag (Issue #19580)

4 views
Skip to first unread message

Dominique Pelle

unread,
Mar 5, 2026, 12:22:52 PM (yesterday) Mar 5
to vim/vim, Subscribed
DominiquePelle-TomTom created an issue (vim/vim#19580)

Steps to reproduce

Starting from patch 9.2.0110, I can no longer select text
with Shift + Mouse Left-Click + Drag in the terminal with tmux.
When I start selecting, the selection is randomly cancelled
almost as soon as I drag the mouse.

It does not happen with "vim -clean". I minimized my .vimrc
to just one plugin which triggers it:

call plug#begin()
Plug 'DanBradbury/copilot-chat.vim'
call plug#end()

If I keep my original .vimrc (which uses several plugins and
personal settings) but only comment out the line that loads
the 'DanBradbury/copilot-chat.vim' plugin, it works fine.

This is the Vim commit, which introduces the regression:

commit 7ba60f17c22ef81680f25f8c3225b4edb55ddd7c (HEAD -> master, tag: v9.2.0110, upstream/master)
Author: Foxe Chen <chen...@gmail.com>
Date:   Wed Mar 4 20:52:25 2026 +0000

    patch 9.2.0110: No support for terminal synchronization mode

    Problem:  No support for terminal synchronization mode
    Solution: Add DEC 2026 support using the 'termsync' option
              (Foxe Chen).

CC: @64-bitman (author of above commit)

Reproducing the bug requires using:

CC: @64-bitman (author of above commit)

Expected behaviour

I should be able to select text in the terminal with Shift + Left Click + Drag as I used to prior to vim 9.2.0110.

Version of Vim

9.2.0110

Environment

OS: Ubuntu-22.04.5
Terminal: Alacritty-0.16.1 + tmux next-3.7

Logs and stack traces


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19580@github.com>

Christian Brabandt

unread,
Mar 5, 2026, 1:49:57 PM (yesterday) Mar 5
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19580)

If you disable termsync, does it work? Or what about setting t_BS and t_ES to an empty string?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19580/4006989569@github.com>

Dominique Pelle

unread,
Mar 5, 2026, 6:53:56 PM (yesterday) Mar 5
to vim/vim, Subscribed
DominiquePelle-TomTom left a comment (vim/vim#19580)

@chrisbra wrote:

If you disable termsync, does it work?

The bug still happens if I add set notermsync in the .vimrc.

Or what about setting t_BS and t_ES to an empty string?

The bug no longer happen if I add set t_BS= t_ES=.

In other words, the bug does not happen with this .vimrc:

set t_BS= t_ES=
call plug#begin()
Plug 'DanBradbury/copilot-chat.vim'
call plug#end()

But the bug happens with:

call plug#begin()
Plug 'DanBradbury/copilot-chat.vim'
call plug#end()


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19580/4008531931@github.com>

Foxe Chen

unread,
2:58 PM (7 hours ago) 2:58 PM
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#19580)

Can you check if setting bboth T_BSU and T_ESU to empty string only solves the issue, or does setting T_BSU or T_ESU to an empty (but leaving the other option as normal) also fix the issue?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19580/4013831610@github.com>

Reply all
Reply to author
Forward
0 new messages