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.

cli
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.

#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 footguns
gotchaOn some systems, libedit may conflict with GNU Readline headers.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
gptbot
3
claudebot
3
Resources

No resource links recorded.