Skip to content
L

Linenoise

A small self-contained alternative to readline and libedit

by antirezFree

#920in Utilities
0In stores

Description

linenoise is a small, self-contained C library that gives command-line programs line editing and history, as an alternative to GNU readline…

Highlights

  • Single and multi-line editing with the usual key bindings
  • Command history and completion
  • Hints shown as you type
  • Bracketed paste and UTF-8 with emoji
  • About 1,600 lines of BSD-licensed C

Ratings & Reviews

No ratings yet

Be the first to rate Linenoise.

People also visit

M

Mle

flexible terminal-based text editor (C)

Utilities
Launch
L

Ledit

Simple no bullshit text editor

Utilities
Launch
M

Micro

A modern and intuitive terminal-based text editor

Utilities
Launch
M

Moe

A command line based editor inspired by Vim. Written in Nim

Utilities
Launch
K

Kiro Editor

A small terminal UTF-8 text editor written in Rust

Utilities
Launch
F

Flow

Flow Control: a programmer's text editor

Utilities
Launch

Linenoise FAQ

What is linenoise?

A small C library that adds line editing and history to command-line programs, as an alternative to readline and libedit.

Which license does it use?

The BSD license, according to the README.

Why use it instead of readline?

The README says readline is about 30,000 lines and libedit about 20,000, while linenoise is about 1,600 lines. Readline is also GPL licensed.

Which terminals does it work with?

It uses only a subset of VT100 escapes, which the README describes as ANSI.SYS compatible.

Who uses it?

The README names Redis, MongoDB and Android, among other projects.

What are the best Linenoise alternatives?

Popular alternatives to Linenoise include Mle, Ledit and Micro. See all Linenoise alternatives

Developer Stuff

Badges