Registry / cli / libedit

libedit

JSON →
library2024-08-08vcpkgunverified

A command line editor library that provides generic line editing, history, and tokenization functions, similar to those found in GNU Readline.

vcpkg install libedit
INSTALL
IMPORT
SIG · LIBEDIT
L
libedit
clicppv2024-08-08
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

editline/readline.h
#include <editline/readline.h>

Read a line from the user with editing support

#include <editline/readline.h> #include <stdio.h> int main() { char *input = readline("Enter text: "); if (input) { printf("You entered: %s\n", input); free(input); } return 0; }
Debug
Known issues
gotchaOn some systems, libedit may conflict with GNU Readline headers.
fix
Use #include <editline/readline.h> instead of <readline/readline.h> to avoid conflicts.
affects: *
Upgrade
Version history
2024-08-08latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
20
Resources

No resource links recorded.

libedit — pip install libedit · libregistry