Enable input editing with the linenoise library.

This commit is contained in:
Eric S. Raymond 2017-06-10 05:11:29 -04:00
parent 037f1df7dd
commit 63e971fc4c
5 changed files with 30 additions and 7 deletions

View file

@ -25,11 +25,19 @@ PDP-10 on which it originally ran limited filenames to 6 characters.
This version is released as open source with the permission and
encouragement of the original authors.
Unlike the original, this version supports use of your arrow keys to edit
your command line in place. Basic Emacs keystrokes are supported, and
your up/down arrows access a command history.
To exit the game, type Ctrl-D (EOF).
There have been no gameplay changes.
== OPTIONS ==
-l:: Log commands to specified file.
-o:: Old-style. Restores original interface, no prompt.
-o:: Old-style. Restores original interface, no prompt or command history.
== BUGS ==