Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

different syntax between mouse and cursor mode to specify all keys #2105

Open
pascalpoitras opened this issue Mar 24, 2024 · 0 comments
Open
Labels
feature New feature request

Comments

@pascalpoitras
Copy link

pascalpoitras commented Mar 24, 2024

Feature description

to match every keys in mouse mode you do something like that

/key bindctxt mouse @item(time):* /print -core mouse

so you use the *. In cursor mode, you can't use * since it match only the litteral * which is the right thing to do because otherwise you would not be able to only match the *. In cursor mode, to match everything you just omit the key

/key bindctxt cursor @item(time): /print -core cursor

The way you do that (omitting the key) is not documented and is not even valid according to @flashcode . Still it's very useful it's the only way to match all keys.

Also, omitting the key doesn't work in mouse mode. So I wonder if it would be possible to

  1. make @item(time): equivalent to @item(time):* in mouse mode for consistency
  2. precise this syntax in the doc
@pascalpoitras pascalpoitras added the feature New feature request label Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant