Added option to preselect an item by providing a number
bump version to 5.0
... and bump LICENSE year.
improve xopenim error message
die() already prints a newline.
make dmenu_path script executable
(as dmenu_run is)
fix crash when XOpenIM returns NULL
for example when IME variables are set, but the program is not started (yet).
Close when the embedding window is destroyed
dmenu.1: document improved fastgrab behaviour from previous patch
Use slow path if stdin is a tty
If stdin is a tty and dmenu is ran with the fast option then it's
impossible to close stdin because the keyboard is already grabbed.
dmenu_path: always use the cachedir
Makefile: just show the compiler output
Don't be fancy and just show the actual output so debugging is simpler.
Do not strip at link stage
Building with debug symbols is worthless unless LDFLAGS are manually adjusted
as well.
code-style for pledge: check the return code -1, not < 0
this is the proper idiom
code-style for pledge(2)
feedback from Klemens, thanks
Use bold for keyboard shortcuts in dmenu.1
Like dwm, use the same syntax for all keyboard shortcuts for
consistency.
Fix cursor drawn position with wide glyphs