Add ansi-string-length.

This commit is contained in:
Dominik Pantůček 2023-03-21 22:35:55 +01:00
parent f840c18b49
commit bde3199cca
2 changed files with 35 additions and 0 deletions

View file

@ -163,6 +163,13 @@ black text.
Generic highlight of given text. Defaults to bold blue text.
(ansi-string-length str)
* ```str``` string that may contain ANSI CSI SGR sequences
Returns the string length in characters without any ANSI CSI SGR
sequences contained.
### Command Line parsing
Generic syntax-based implementation of command-line options parsing