index.md (789B)
1 print input text 2 ================ 3 4 Description 5 ----------- 6 This patch adds a flag (`-t`) which makes Return key to ignore selection and 7 print the input text to stdout. The flag basically swaps the functions of 8 Return and Shift+Return hotkeys. 9 10 The default behaviour of dmenu makes sense when selecting from given options 11 (i.e. as a program launcher) but it is annoying when you might be entering text 12 that is different than the given options (i.e. as surf's url bar). 13 14 Usage in Surf 15 ------------- 16 Just add the `-t` flag to the dmenu in the SETPROP function of surf's 17 config.def.h. Now the url bar should behave just like in all other browsers. 18 19 Download 20 -------- 21 * [dmenu-printinputtext-20190822-bbc464d.diff](dmenu-printinputtext-20190822-bbc464d.diff) 22 23 Author 24 ------ 25 * efe - efe@efe.kim