I figured you would be interested, I published a go package I wrote to help me handle complex text formatting in a gocui interface. In particular, this package contains string manipulation functions that handle properly wide characters (chinese, japanese ...) and ANSI escape sequences.
Hi everyone,
I figured you would be interested, I published a go package I wrote to help me handle complex text formatting in a gocui interface. In particular, this package contains string manipulation functions that handle properly wide characters (chinese, japanese ...) and ANSI escape sequences.
The package is here: https://github.com/MichaelMure/go-term-text