]> git.lizzy.rs Git - linenoise.git/blobdiff - README.markdown
Add explicit support for single-file delivery
[linenoise.git] / README.markdown
index cf7e10e4dc41668c79ec356c1908c080def974b8..70cba8b32eb3364d6d96e88f45883a91d789eca0 100644 (file)
@@ -8,6 +8,25 @@
 - 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?