# wrap.nrm <- strwrap(strip_ctl(lorem.r.thanks, "sgr"), 40)

# # this would take forever under valgrind
# If this changes run the `identical` check above!

Argument `x` contains a non-CSI/OSC escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings.

Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent,  :
  Argument `x` contains a non-CSI/OSC escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings.

Argument `x` contains a malformed escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings.

Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent,  :
  Argument `x` contains a malformed escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings.

# c0 escapes should be treated as zero width

Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings.

Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent,  :
  Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings.

Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings.

Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent,  :
  Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings.

strwrap_ctl("hello \033[999mworld", 6, warn = FALSE)

strwrap_ctl("hello \033[31#31mworld", 6, warn = FALSE)

strwrap_ctl("hello \033[999nworld", 6, warn = FALSE)

lorem.sentence <- unlist(strsplit_ctl(lorem, "[.]\\K ", perl = TRUE))

Lorem ipsum dolor sit amet,
 consectetur adipiscing elit,
 sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Ut enim ad minim veniam,
 quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
	
	  
Excepteur sint occaecat cupidatat non proident,
 sunt in culpa qui officia deserunt mollit anim id est laborum.