Description

A small self-contained alternative to readline and libedit.

Package Information

Version~master (2014-Jan-28)
Homepagehttps://github.com/antirez/linenoise
Repositoryhttps://github.com/D-Programming-Deimos/linenoise
LicenseBSD 2-clause
CopyrightCopyright © 2014, dawg
AuthorsSalvatore Sanfilippo
Registered byMartin Nowak
Dependenciesnone

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

Linenoise D bindings

Introduction

A minimal, zero-config, BSD licensed, readline replacement used in Redis, MongoDB, and Android.

  • Single line editing mode with the usual key bindings implemented.
  • Experimental multi-line editing mode.
  • History handling.
  • Completion.
  • Under 1,000 lines of BSD license source code.

License

Linenoise and the D bindings are released under the BSD license.

Binding version

Based on https://github.com/antirez/linenoise/commit/27a3b4d5205a5fb3e2101128edd6653bd0c92189.

Example

See examples/D/example.d folder

High-Level Wrapper

not available

Available versions

~master