Show actions as buttons under text - #650
Open
layus wants to merge 1 commit into
Open
Conversation
Each requested action is drawn as a clickable button below the body; a left click invokes that action and a right click dismisses. Buttons are suppressed when on-button-left is bound to invoke-default-action, which restores the old click-the-body behaviour. The default left binding is changed to none accordingly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here is another feature I have been using for a few days and found quite useful:
Each requested action is now drawn as a clickable button beneath the notification body: a left click on a button invokes that action and a right click anywhere dismisses, per the existing default bindings. Buttons are suppressed when on-button-left is bound to invoke-default-action, which keeps the old behaviour of clicking the body to fire the default action; accordingly the default left binding is changed to none. Documented in mako.5.scd under the bindings and actions options.