Skip to content

BSD licensed header-only C++17 readline library that supports UTF-8 and Windows.

License

Notifications You must be signed in to change notification settings

wx257osn2/linse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linse

Linse is a header-only readline library for C++17.

Origin

Linse is a forked project of Linenoise Next Generation(linenoise-ng, arangodb/linenoise-ng).
linenoise-ng is based on antirez/linenoise.

Features

Linse is based on linenoise-ng, so it also has the features below:

  • single-line and multi-line editing mode with the usual key bindings implemented
  • history handling
  • completion
  • BSD license source code
  • Only uses a subset of VT100 escapes (ANSI.SYS compatible)
  • UTF8 aware
  • support for Linux , MacOS and Windows
    • Linse may be worked on MacOS, but I don't check it because I have no Mac.

It is very important point that Linse doesn't have linenoise-compatible pure-C interface. It means that you can't replace linenoise or linenoise-ng on your code to Linse without changing code.

Requirements

You need C++17-enabled compiler to use this library.

Usage

see example/example.cpp

License

3-clause BSD license ((C) I)

About

BSD licensed header-only C++17 readline library that supports UTF-8 and Windows.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages