X-Git-Url: https://git.danieliu.xyz/?p=dmenu.git;a=blobdiff_plain;f=dmenu.1;h=7495ef3415ce8552dd81709d9064ba27cc485eb2;hp=fa3adc0b3a1d063e9d7ebb181c2f6ecc09d35928;hb=358f078c0b8e235bd14cded2330b78a2e1c08685;hpb=1f207893e6162f8ae8be17440830ca1eb1e80746 diff --git a/dmenu.1 b/dmenu.1 index fa3adc0..7495ef3 100644 --- a/dmenu.1 +++ b/dmenu.1 @@ -32,29 +32,26 @@ Select the previous/next item. Copy the selected item to the input field. .TP .B Return -Confirm selection and quit (print the selected item to standard output). +Confirm selection and quit (print the selected item to standard output). Returns +.B 0 +on termination. .TP .B Shift-Return Confirm selection and quit (print the text in the input field to standard output). +Returns +.B 0 +on termination. .TP .B Escape -Quit without selecting an item. +Quit without selecting an item. Returns +.B 1 +on termination. .TP .B Backspace (Control-h) Remove enough characters from the input field to change its filtering effect. .TP .B Control-u Remove all characters from the input field. -.P -dwm returns -.B 0 -if -.B Return -is pressed and -.B 1 -if -.B Escape -is pressed on termination. .SH CUSTOMIZATION dmenu is customized by creating a custom config.h and (re)compiling the source code. This keeps it fast, secure and simple.