1
0
Fork 0

- transform any line made from blank characters in vertical-space.

This commit is contained in:
cage 2021-10-27 14:24:46 +02:00
parent fe9792a576
commit dfdf303d1d
1 changed files with 3 additions and 6 deletions

View File

@ -424,13 +424,10 @@
(let ((res ()))
(loop for line in lines do
(cond
((or (string-empty-p line)
(string= line (format nil "~%")))
((string-empty-p (trim-blanks line))
(push (funcall empty-line-transform-fn) res))
(t
(loop for fitted-line
in (flush-left-mono-text (split-words line) width)
do
(loop for fitted-line in (flush-left-mono-text (split-words line) width) do
(push fitted-line res)))))
(reverse res)))