Skip to content

dangh/ansi-length.fish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ansi-length.fish

string length without ansi escape characters

Installation

fisher install dangh/ansi-length.fish

Usage

set text (set_color yellow)hello

echo $text | string length
# 10

echo $text | ansi-length
# 5

ansi-length $text
# 5

About

string length without ansi escape characters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages