ANSI Control Sequence Aware String Functions


[Up] [Top]

Documentation for package ‘fansi’ version 0.3.0

Help Pages

fansi-package Details About Manipulation of Strings Containing Control Sequences
fansi Details About Manipulation of Strings Containing Control Sequences
fansi_lines Colorize Character Vectors
has_ctl Checks for Presence of Control Sequences
has_sgr Checks for Presence of Control Sequences
html_code_block Format Character Vector for Display as Code in HTML
html_esc Escape Characters With Special HTML Meaning
nchar_ctl ANSI Control Sequence Aware Version of nchar
nzchar_ctl ANSI Control Sequence Aware Version of nchar
set_knit_hooks Set an Output Hook to Display ANSI CSI SGR in Rmarkdown
sgr_to_html Convert ANSI CSI SGR Escape Sequence to HTML Equivalents
strip_ctl Strip ANSI Control Sequences
strip_sgr Strip ANSI Control Sequences
strsplit_ctl ANSI Control Sequence Aware Version of strsplit
strtrim2_ctl ANSI Control Sequence Aware Version of strtrim
strtrim_ctl ANSI Control Sequence Aware Version of strtrim
strwrap2_ctl ANSI Control Sequence Aware Version of strwrap
strwrap_ctl ANSI Control Sequence Aware Version of strwrap
substr2_ctl ANSI Control Sequence Aware Version of substr
substr_ctl ANSI Control Sequence Aware Version of substr
tabs_as_spaces Replace Tabs With Spaces
term_cap_test Test Terminal Capabilities
unhandled_ctl Identify Unhandled ANSI Control Sequences