aboutsummaryrefslogtreecommitdiff
path: root/README.linenoise
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2022-08-20 15:47:23 +1000
committerSteve Bennett <steveb@workware.net.au>2022-08-20 15:48:29 +1000
commit36430b868343ff9315ab342ee531b31bce6b3c73 (patch)
tree6858b5b91a0bdf14054412f988affacf23005a4f /README.linenoise
parent8b1a9e78d4322b637f72fef83b026f1e2c2d56fa (diff)
downloadjimtcl-36430b868343ff9315ab342ee531b31bce6b3c73.zip
jimtcl-36430b868343ff9315ab342ee531b31bce6b3c73.tar.gz
jimtcl-36430b868343ff9315ab342ee531b31bce6b3c73.tar.bz2
Update linenoise to rev d26a12bc449102c9b5
For linenoiseWithInitial() and word-forward, word-backward And add README.linenoise https://github.com/msteveb/linenoise/commit/d26a12bc449102c9b50a7623afe5559747eb291e Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'README.linenoise')
-rw-r--r--README.linenoise11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.linenoise b/README.linenoise
new file mode 100644
index 0000000..49a3927
--- /dev/null
+++ b/README.linenoise
@@ -0,0 +1,11 @@
+Jim Tcl uses linenoise (https://github.com/msteveb/linenoise) to
+provide command line editing, both in jimsh and via the history extension
+(so you can create REPL interfaces in pure Tcl)
+
+Please see the link above for development documentation and key bindings.
+
+Because Jim Tcl already has utf-8 support, the linenoise-ship.c amalagamation
+is not used directly. Instead we use everything except utf-8. Update as follows:
+
+ git clone https://github.com/msteveb/linenoise.git
+ cat linenoise/stringbuf.h linenoise/stringbuf.c linenoise/linenoise.c >linenoise.c