Commits


Switched to __OpenBSD__ instead of HAVE_PLEDGE


Explicitly include stdint


Simplified stdin reading A big buffer is allocated and all text is stored there. The overall time for reading/freeing the memory for the completion should be improved, no statistics made though.


Update documentation


TRANSPARENCY EVERYWHERE! + bugfix


missing free


fixed out-of-bound access


forgot in usage the flag -m


added flag to allow multiple selection


Scroll + Initial mouse handling Scroll as respond to scroll event


Better memory management The completion are stored one after one instead of within a linked-list: since we know in advance the size this make sense. Before we allocate/deallocate the whole completion list on every `filter`, now we don't.


fixed error in prompt rendering


partially resolved a rendering error


switch from custom readline to getline(3)


new options `-A` and `-d` + documentation -A force the user to choose one of the completion -d defines a separator. Only the substring from separator and the end of the string is showed to the user, but the original line will be printed