VT mouse mode: no reaction to touch inputs #23361

Open
opened 2026-01-31 08:40:04 +00:00 by claunia · 2 comments
Owner

Originally created by @ramonacat on GitHub (Jun 15, 2025).

I am using the latest version of Windows Terminal, on the latest version of Windows 11, on a Surface Go 3 tablet.
When I try to use the touch screen to scroll by dragging my finger, or to select a tmux pane by tapping it, there is no effect.
Those things work perfectly fine with a mouse or touchpad.

Windows Terminal Version: 1.22.11141.0
Windows version information:

Edition	Windows 11 Home
Version	24H2
Installed on	‎15/‎03/‎2025
OS build	26100.4061
Experience	Windows Feature Experience Pack 1000.26100.84.0

Hardware/drivers details from the Surface app:

Device information: 
Surface model: Surface Go 3 Model 2022 i3
UEFI: 15.102.143.0
EC: 4.26.128.0
App version: 75.5150.121.0
BIOS Version/Date: Microsoft Corporation 15.102.143 10/18/2024
Touch driver: 6.4.38.0
Wi-Fi driver: 23.80.0.7
Edition: Windows 11 Home
OS build: 26100.4061
Processor: Intel(R) Core(TM) i3-10100Y CPU @ 1.30GHz
Installed RAM: 8 GB
Storage size: 510 GB free of 595 GB
GPU: Intel(R) UHD Graphics 615
Screen resolution: 1920 x 1280
Originally created by @ramonacat on GitHub (Jun 15, 2025). I am using the latest version of Windows Terminal, on the latest version of Windows 11, on a Surface Go 3 tablet. When I try to use the touch screen to scroll by dragging my finger, or to select a tmux pane by tapping it, there is no effect. Those things work perfectly fine with a mouse or touchpad. Windows Terminal Version: 1.22.11141.0 Windows version information: ``` Edition Windows 11 Home Version 24H2 Installed on ‎15/‎03/‎2025 OS build 26100.4061 Experience Windows Feature Experience Pack 1000.26100.84.0 ``` Hardware/drivers details from the Surface app: ``` Device information: Surface model: Surface Go 3 Model 2022 i3 UEFI: 15.102.143.0 EC: 4.26.128.0 App version: 75.5150.121.0 BIOS Version/Date: Microsoft Corporation 15.102.143 10/18/2024 Touch driver: 6.4.38.0 Wi-Fi driver: 23.80.0.7 Edition: Windows 11 Home OS build: 26100.4061 Processor: Intel(R) Core(TM) i3-10100Y CPU @ 1.30GHz Installed RAM: 8 GB Storage size: 510 GB free of 595 GB GPU: Intel(R) UHD Graphics 615 Screen resolution: 1920 x 1280 ```
claunia added the Issue-BugIssue-TaskPriority-3Area-InputProduct-Terminal labels 2026-01-31 08:40:05 +00:00
Author
Owner

@DHowett commented on GitHub (Jun 18, 2025):

Thanks for the report! I'm guessing you're using tmux exclusively, right? If you open a tab containing Windows PowerShell or Command Prompt, does scrolling work for you?

Today, we expressly skip touch input for mouse-driven VT applications (like tmux). We probably shouldn't.

8a01833489/src/cascadia/TerminalControl/TermControl.cpp (L1954-L1968)

8a01833489/src/cascadia/TerminalControl/TermControl.cpp (L2000-L2015)

While we figure out the right solution, though, I was thinking that #3656 (which has an open PR at #18928) provides a higher-level solution by promoting tmux panes to top-level interactable UI elements. 🤔

@DHowett commented on GitHub (Jun 18, 2025): Thanks for the report! I'm guessing you're using tmux _exclusively_, right? If you open a tab containing Windows PowerShell or Command Prompt, does scrolling work for you? Today, we expressly skip _touch_ input for mouse-driven _VT_ applications (like tmux). We probably shouldn't. https://github.com/microsoft/terminal/blob/8a018334890b05080888f7bdb91a561661faf5d3/src/cascadia/TerminalControl/TermControl.cpp#L1954-L1968 https://github.com/microsoft/terminal/blob/8a018334890b05080888f7bdb91a561661faf5d3/src/cascadia/TerminalControl/TermControl.cpp#L2000-L2015 While we figure out the right solution, though, I was thinking that #3656 (which has an open PR at #18928) provides a higher-level solution by promoting tmux panes to top-level interactable UI elements. 🤔
Author
Owner

@ramonacat commented on GitHub (Jun 19, 2025):

I did a couple more tests:

  1. Just powershell with a bunch of output, not running any apps - scrolling by finger works
  2. Powershell session with ssh to a remote server, with bash, with a bunch of output - scrolling by finger also works
  3. Neovim without tmux - clicks and finger scrolls don't work

I strongly suspect that neovim without tmux uses the same APIs though, so that probably just confirms your comment above.

@ramonacat commented on GitHub (Jun 19, 2025): I did a couple more tests: 1. Just powershell with a bunch of output, not running any apps - scrolling by finger works 2. Powershell session with ssh to a remote server, with bash, with a bunch of output - scrolling by finger also works 3. Neovim without tmux - clicks and finger scrolls don't work I strongly suspect that neovim without tmux uses the same APIs though, so that probably just confirms your comment above.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23361