1# editline-tabcomp 2 3Tab completion implementation for BSD editline (libedit). 4 5## Motivation 6 7While the editline readline compatibility layer supports tab 8completions, editline itself does not. When I started using editline in 9[input][input github]. I implemented tab completions using the code in10this repository. However, nowadays input uses the readline compatibility11layer and I just wanted to archive this code somewhere in case it is12useful for someone else.1314## Status1516I don't use this myself anymore but I am not aware of any bugs.1718## Features1920* Simple API.21* Supports wide characters.22* Supports cycling through multiple completions.23* Easy to integrate (single source file in C99).2425## Usage2627The implementation is provided in `complete.c` and `complete.h` these28files should just be copied to your repository. The header file contains29some pointers on how to use the provided functions.3031A usage example is also provided in `example.c`, compile it using:3233 $ make3435## License3637This program is free software: you can redistribute it and/or modify it38under the terms of the GNU General Public License as published by the39Free Software Foundation, either version 3 of the License, or (at your40option) any later version.4142This program is distributed in the hope that it will be useful, but43WITHOUT ANY WARRANTY; without even the implied warranty of44MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General45Public License for more details.4647You should have received a copy of the GNU General Public License along48with this program. If not, see <http://www.gnu.org/licenses/>.4950[input github]: https://github.com/nmeum/input