]> git.lizzy.rs Git - linenoise.git/blobdiff - README.markdown
Use CMake
[linenoise.git] / README.markdown
index f008d2d3d5e38f6c4c29f6a767ca39c62853ce38..70cba8b32eb3364d6d96e88f45883a91d789eca0 100644 (file)
@@ -1,5 +1,36 @@
 # Linenoise
 
+## What's different in this fork?
+
+- Win32 console
+- full utf8 support (what about utf8 on windows)
+- insert control characters
+- no hints yet
+- now with multiline
+
+## How do I include linenoise line editing support in my application?
+
+From the Makefile:
+
+  linenoise-ship.c simplifies delivery of linenoise support
+
+  simple copy linenoise-ship.c to linenoise.c in your application, and also linenoise.h
+
+  * If you want win32 support, also copy linenoise-win32.c
+  * If you never want to support utf-8, you can omit utf8.h and utf8.c
+
+To enable utf-8 support, define USE_UTF8
+
+## Where do I get it?
+
+Get it here: [https://github.com/msteveb/linenoise](https://github.com/msteveb/linenoise)
+
+--------------------------------------------------------
+
+## Original README below
+
+Can a line editing library be 20k lines of code?
+
 A minimal, zero-config, BSD licensed, readline replacement.
 
 News: linenoise now includes minimal completion support, thanks to Pieter Noordhuis (@pnoordhuis).
@@ -25,7 +56,7 @@ Apparently almost every terminal you can happen to use today has some kind of su
 
 Since it's so young I guess there are a few bugs, or the lib may not compile or work with some operating system, but it's a matter of a few weeks and eventually we'll get it right, and there will be no excuses for not shipping command line tools without built-in line editing support.
 
-The library is currently less than 400 lines of code. In order to use it in your project just look at the *example.c* file in the source distribution, it is trivial. Linenoise is BSD code, so you can use both in free software and commercial software.
+The library is currently less than 2000 lines of code. In order to use it in your project just look at the *example.c* file in the source distribution, it is trivial. Linenoise is BSD code, so you can use both in free software and commercial software.
 
 ## Tested with...