summaryrefslogtreecommitdiffstats
path: root/src/ansi/mod.rs
AgeCommit message (Collapse)Author
2022-01-13Fix new 1.58 clippy lintsThomas Otto
2021-12-07Move explain_ansi() part out of parse_ansi()Thomas Otto
2021-11-22Function to compute text index in string containing ANSI sequencesDan Davison
2021-11-22Clarify tests of ansi_preserving_sliceDan Davison
2021-11-22Parse styles from a string containing ANSI sequencesDan Davison
2021-10-16Add side-by-side line wrappingThomas Otto
If the current line does not fit into the panel, then it is not truncated but split into multiple lines. A wrapping symbol is placed at the end of the line. If the new line is short enough, it is right-aligned. Wrapping is limited to a certain number of lines (--wrap-max-lines), if this is exceeded the line is truncated by a now highlighted truncation symbol. To disable wrapping set this value to 0.
2021-08-21Add some test coverage for truncate_str with a multibyte unicode characterDan Davison
https://graphemica.com/%DD%B6 Ref #677
2021-03-29Clippy (#554)Dan Davison
* Clippy
2020-11-07remove some clippy warnings (#383)Marco Ieni
* remove some clippy warnings * revert comparison_chain clippy lint Allow it locally
2020-11-05fix some clippy warnings (#380)Marco Ieni
2020-08-14New ANSI escape sequence parser based on vteDan Davison
Reimplement utility functions from `console` crate, but with support for OSC sequences.
2020-08-01Parse ANSI escape sequences as ansi_term StyleDan Davison