Stripping in block.
This commit is contained in:
parent
2041fef742
commit
64b0b7fa5c
1 changed files with 5 additions and 2 deletions
|
@ -86,10 +86,13 @@
|
|||
res)))))))
|
||||
|
||||
;; Creates a plain list of strings from given block
|
||||
(define* (sgr-block->string-list sb #:reset-state (reset-state #f))
|
||||
(define* (sgr-block->string-list sb
|
||||
#:reset-state (reset-state #f)
|
||||
#:strip-ansi? (strip-ansi? #f))
|
||||
(map (lambda (sl)
|
||||
(sgr-list->string sl
|
||||
#:reset-state reset-state))
|
||||
#:reset-state reset-state
|
||||
#:strip-ansi strip-ansi?))
|
||||
sb))
|
||||
|
||||
;; Returns the width of the longest SGR line in the block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue