]> gitweb.factorcode.org Git - factor.git/commitdiff
Write some more docs for readline and link readline main article to words.
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 26 Aug 2011 16:20:58 +0000 (11:20 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 26 Aug 2011 16:20:58 +0000 (11:20 -0500)
extra/readline/readline-docs.factor

index 22af8787cce96723f91ee6b6995de9381d828438..f1082de9547bfed06acea08af7ff7d43ecccdcfb 100644 (file)
@@ -25,8 +25,11 @@ HELP: set-completion
 } ;
 
 ARTICLE: "readline" "Readline"
-{ $vocab-link "readline" }
-;
+"The " { $vocab-link "readline" } " vocabulary binds to the C readline library and provides Emacs-style key bindings for editing text. Currently, it only works from the non-graphical UI." $nl
 
+"To read a line:"
+{ $subsections readline }
+"To set a completion hook:"
+{ $subsections set-completion } ;
 
 ABOUT: "readline"