RejectNoMatch - bakkeby/dmenu GitHub Wiki

The RejectNoMatch functionality, if enabled, prevents input to be entered if said input would lead to no matches.

Here is an example menu giving the options of "Yes" and "No":

$ echo "Yes\nNo" | dmenu

RejectNoMatch.jpg

When the functionality is enabled then dmenu will refuse to insert any character other than Y, e, s, N and o (plus lower case y and n if case insensitive matching is enabled).

This guarantees that the output of dmenu must be one of the options provided.

The functionality originates from the reject-no-match patch for dmenu.

Back to Functionality.

⚠️ **GitHub.com Fallback** ⚠️