Re: Readline completion example?
Jean Louis <[email protected]> Wed, 15 Nov 2017 09:20:07 +0300
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Nov 14, 2017 at 04:27:08PM -0500, Sam Steingold wrote: > Hi Jean, > > > * Jean Louis <[email protected]> [2017-11-14 10:31:51 +0300]: > > > > (defun prompt-read (prompt &optional default) > > Please try hg tip facilities described in > https://clisp.sourceforge.io/beta/impnotes/terminal.html#readline-extend That is great, thank you, that can be good for the start. I see it is to complete the single words nicely, yet if there are words with spaces it is not working as expected and it is not completing. It will be great new feature in CLISP, as it makes the choices available to users natively. I have just tried this one: (setf custom:*completion* (make-completion '("one word" "one few" "two more" "two here"))) So after "one " (with space) nothing is completing thereafter. Jean ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ clisp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-list