Changeset 20853 in project


Ignore:
Timestamp:
10/15/10 09:46:32 (11 years ago)
Author:
Christian Kellermann
Message:

Add csi support to linenoise docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/linenoise

    r20685 r20853  
    6565Loads the history from file.
    6666
     67<procedure>(make-linenoise-port)</procedure>
     68
     69Returns an input port connected to a linenoise prompt. Useful for inserting it into CSI (see below).
     70
    6771=== Controls
    6872
     
    106110</enscript>
    107111
     112=== Using linenoise in csi
     113
     114Since version 0.4 linenoise can be used as editing help in csi. Simply add the following to your {{.csirc}}
     115
     116<enscript highlight=scheme>
     117(use linenoise)
     118(current-input-port (make-linenoise-port))
     119</enscript>
     120
    108121=== Changelog
    109122
Note: See TracChangeset for help on using the changeset viewer.