Registry / cli / readline-unix

readline-unix

JSON →
library8.3vcpkgunverified

The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in.

vcpkg install readline-unix
INSTALL
IMPORT
SIG · READLINE-UNIX
R
readline-unix
clicppv8.3
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.

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

Read a line with editing and history support

#include <readline/readline.h> #include <readline/history.h> #include <stdio.h> int main() { char* input = readline("Enter text: "); if (input) { add_history(input); printf("You entered: %s\n", input); free(input); } return 0; }
Debug
Known issues
gotchaThis port is Unix-only; use on Windows requires WSL or similar.
fix
Use a cross-platform alternative like linenoise on Windows.
affects: all
Upgrade
Version history
8.3latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
26
Amazon
1
Resources

No resource links recorded.

readline-unix — pip install readline-unix · libregistry