C-Space binding displays as Invalid# in list-keys

13 views
Skip to first unread message

topcat

unread,
Mar 14, 2020, 2:31:04 AM3/14/20
to tmux-users
Hi, in the latest build from today, the key name for any binding for Ctrl-Space is shown as "Invalid#4000..." in the output from list-keys. I tested this without a config file.
For example, the default binding for C-Space for copy-mode which starts a selection shows this error. I tried an older build from last week which I'm running on another machine and that did not have this issue. The binding itself works fine.

topcat

unread,
Mar 14, 2020, 12:45:40 PM3/14/20
to tmux-users
Hi Nick, this morning I set up a debug session and have found the problem: in a recent commit the code to add the modifier keys was moved to the top, but the "special case handling" for C-@ has to be moved as well.

I have attached a patch which solves the issue. Please have a look and comment, thanks!
git-diff.txt

Nicholas Marriott

unread,
Mar 15, 2020, 4:36:12 PM3/15/20
to topcat, tmux-users
Fixed, thanks!
> --
> You received this message because you are subscribed to the Google Groups "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/92765243-5f2a-4b6d-a395-146f87f74cde%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages