author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 01 Jan 2024 20:53:49 +0200 | |
changeset 1039 | 78cdb4a057e3 |
parent 466 | 4c5042015cd7 |
permissions | -rw-r--r-- |
466
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
1 |
;-*- mode: scheme -*- |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
;; Readline support. |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
(use-modules (ice-9 readline)) |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
(activate-readline) |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
(readline-enable 'history-file) |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
7 |
(readline-set! history-length 10000) |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |