Incremental - bakkeby/dmenu GitHub Wiki

The Incremental functionality, if enabled, makes dmenu output the current text for every keypress.

Here is a practical demonstration with a "Yes" and "No" option:

$ echo "Yes\nNo" | dmenu -Incremental

Y
Ye
Yes
Yes

The first blank line is the input text being empty when the shift modifier is pressed, then we have Y, Ye and Yes being printed for each keypress in that word.

The last Yes is dmenu outputting the selected option when the user presses enter (return).

The functionality originates from the incremental patch for dmenu and the patch page outlines a use case for this.

Back to Functionality.

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