Tmux prefix key not working #6175

Open
opened 2026-01-31 00:31:38 +00:00 by claunia · 0 comments
Owner

Originally created by @alexeyre on GitHub (Jan 28, 2020).

Environment

Windows build number: 10.0.18362.0
Windows Terminal version (if applicable): 0.8.10091.0
tmux: 2.6

Steps to reproduce

  1. Open Ubuntu WSL v1
  2. Start a tumx session with tmux
  3. Press prefix combination (Ctrl-A in my case, but I've tried without my .tmux.conf and Ctrl-B also doesn't work)

Expected behavior

Tmux to catch my prefix key and allow me to access its keychords.

Actual behavior

The input doesn't appear to have been registered anywhere.

I've tried with an empty keybindings section and both of the following, none of which work:

    "keybindings": [
	{ "command": null, "keys": ["ctrl-a"] },
	{ "command": null, "keys": ["ctrl-b"] }
    ]
    "keybindings": [
	{ "command": "unbound", "keys": ["ctrl-a"] },
	{ "command": "unbound", "keys": ["ctrl-b"] }
    ]

My (naive) guess would be that terminal is still grabbing the key combination just not acting on it, rather than passing it through to the instance itself when you set the keybind to "unbound", but I don't really know anything about the internals of terminal so that's a stab in the dark.

Originally created by @alexeyre on GitHub (Jan 28, 2020). # Environment ```none Windows build number: 10.0.18362.0 Windows Terminal version (if applicable): 0.8.10091.0 tmux: 2.6 ``` # Steps to reproduce 1. Open Ubuntu WSL v1 2. Start a tumx session with `tmux` 3. Press prefix combination (Ctrl-A in my case, but I've tried without my .tmux.conf and Ctrl-B also doesn't work) <!-- A description of how to trigger this bug. --> # Expected behavior Tmux to catch my prefix key and allow me to access its keychords. <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior The input doesn't appear to have been registered anywhere. I've tried with an empty keybindings section and both of the following, none of which work: ```javascript "keybindings": [ { "command": null, "keys": ["ctrl-a"] }, { "command": null, "keys": ["ctrl-b"] } ] ``` ```javascript "keybindings": [ { "command": "unbound", "keys": ["ctrl-a"] }, { "command": "unbound", "keys": ["ctrl-b"] } ] ``` My (naive) guess would be that terminal is still grabbing the key combination just not acting on it, rather than passing it through to the instance itself when you set the keybind to "unbound", but I don't really know anything about the internals of terminal so that's a stab in the dark.
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 00:31:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6175