diff options
Diffstat (limited to '')
-rw-r--r-- | module/output/text.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/output/text.scm b/module/output/text.scm index 274c79e2..5d8248f4 100644 --- a/module/output/text.scm +++ b/module/output/text.scm @@ -31,7 +31,7 @@ ;; str -> (str) (define* (justify-line line #:key (width 70)) (let recur ((lst (words line))) - (let* ((head tail (take-drop-while + (let* ((head tail (span (let ((w 0)) (lambda (word) ; Take words until we are above the limit. (< (mod/r! w = (+ 1 (string-length word))) |