source: project/release/4/linenoise/trunk/linenoise.scm @ 19857

Last change on this file since 19857 was 19857, checked in by ckeen, 8 years ago

Update to upstream sources

Storage and loading of history from/to file is now possible, exported
set-history-length! is now named properly, ctrl-t is implemented.

File size: 424 bytes
Line 
1(module linenoise 
2  (linenoise
3   history-add
4   set-history-length!
5   save-history-to-file
6   load-history-from-file)
7
8  (import chicken scheme)
9  (import foreign)
10  (use easyffi)
11
12#>!
13  #include "linenoise-src.c"
14<#
15
16(define history-add linenoiseHistoryAdd)
17(define set-history-length! linenoiseHistorySetMaxLen)
18(define load-history-from-file linenoiseHistoryLoad)
19(define save-history-to-file linenoiseHistorySave)
20
21)
Note: See TracBrowser for help on using the repository browser.