| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2023-09-25 | vis-menu.c: add space for terminating NUL byte | Tom Schwindl | 1 | -1/+1 | |
| 2023-08-14 | vis-menu: try to preserve valid Unicode points | Silvan Jegen | 1 | -3/+37 | |
| Before we were not taking non-ascii characters into account properly. With this patch we still mix byte counts and "grapheme cluster" (i.e. complete glyphs that are rendered in a terminal cell) counts but the code should be less broken in the more common case now. | |||||
| 2022-11-29 | vis-menu: use `void' to indicate an empty parameter list | Tom Schwindl | 1 | -2/+2 | |
| 2020-02-10 | vis-menu: use distinct error code upon cancelling selection | Marc André Tanner | 1 | -5/+5 | |
| The following exit statuses are used: 0 an item was successfully selected 1 the selection was cancelled >1 failure, some error occured | |||||
| 2020-01-12 | vis-menu: fix sign-compare compiler warnings | zsugabubus | 1 | -11/+15 | |
| 2017-02-08 | vis-menu: check read(2) return value | Marc André Tanner | 1 | -1/+2 | |
| Fixes CID 137371 | |||||
| 2016-11-25 | vis-menu: also re-open /dev/tty as stderr | Marc André Tanner | 1 | -1/+3 | |
| This means vis-menu will also work when stderr is used for other purposes. This will be used by the vis editor: - stdin is used for the initial completion candidates - stdout is used to return the selected entry - stderr is used for error reporting | |||||
| 2016-10-06 | use EXIT_FAILURE for exit status | Christian Hesse | 1 | -1/+1 | |
| 2016-10-05 | Fix various issues reported by coverity scan | Marc André Tanner | 1 | -1/+1 | |
| 2016-05-29 | vis-menu: improve empty prompt handling (vis-menu -p '') | Marc André Tanner | 1 | -0/+2 | |
| The textw{,n} functions should probably be changed to not accomodate for leading and trailing spaces. They should also be changed to properly calculate the display width of an UTF-8 encoded string. Currently they will just return the number of codepoints which is obviously wrong. | |||||
| 2016-05-29 | vis-menu: reduce indentation level of switch statements | Marc André Tanner | 1 | -74/+78 | |
| 2016-05-29 | vis-menu: more cleanup | Marc André Tanner | 1 | -219/+195 | |
| 2016-05-28 | [vis-menu] Remove unused keybinding. | Tim Allen | 1 | -4/+0 | |
| I'm guessing at some point slmenu's author wanted to make the various deletion commands move text to a kill-buffer, and then Insert and Control-Y could yank from it back into the text field. That clearly never happened, though, so this is dead code. | |||||
| 2016-05-22 | vis-menu: do not segfault if an option lacks an argument | Tim Allen | 1 | -4/+16 | |
| 2016-05-20 | implement xread() and wrap read() + die() | Christian Hesse | 1 | -9/+16 | |
| 2016-05-19 | vis-menu: remove unused code | Marc André Tanner | 1 | -4/+0 | |
| 2016-05-19 | vis-menu: fix matching order, exact matches should come first | Marc André Tanner | 1 | -1/+1 | |
| This reverts 09d0a36e0370f7ca9bdb171bf93c5ac3131c5a92 from the dmenu repository, although dmenu itself seems to work correctly. $ printf "foobar\nfoo\n" | ./vis-menu Typing foo should select foo not foobar. | |||||
| 2016-05-19 | vis-menu: import token based match function from dmenu | Marc André Tanner | 1 | -30/+43 | |
| 2016-05-19 | vis-menu: interpret non-option argument as an initial prompt value | Marc André Tanner | 1 | -1/+5 | |
| 2016-05-19 | vis-menu: change version output | Marc André Tanner | 1 | -1/+1 | |
| 2016-05-19 | vis-menu: remove X clipboard support | Marc André Tanner | 1 | -6/+0 | |
| 2016-05-19 | Import slmenu 7e74fa5 as vis-menu | Marc André Tanner | 1 | -0/+598 | |
