-
Notifications
You must be signed in to change notification settings - Fork 0
aclib - CLI auto-completion library
License
m-kaminski/aclib
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Copyright (c) 2015, Maciej Kaminski. WWW: maciejkaminski.pl email: [email protected] Published under 2-clause BSD-style license 1. Redistributions of source code must retain the above copyright notice 2. Redistributions in binary form must reproduce the above copyright notice Version number is 1.1 library exports just 7 functions in one header - init_completion - add phrase to completion table - init_completions - sort completions table - getline_complete - get line; returns 0 if just eolf - completion_exists - check if completion is defined - print_history - print command history to stdout - hide_acline - when multithreaded application wants to print something without interrupting input of command, you can temporarily hide - restore_acline - and restore it immediately please refer to comments in auto_complete.h for whole API description please refer to example.c to see how to use this shit Version 1.1 introduced hide_acline and restore_acline, basic support for C++ and thread safety
About
aclib - CLI auto-completion library
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published