I am currently trying to build a charm application where I display the 
stdout and stderr of a shell program.

I am having problems deciding on how I should trim the output to fit my 
window. What package provides a function that trims text respecting ANSI 
escape codes, emojis and other special characters, so that I can trim 
stdout of the program to be the size of my window? There also comes the 
task of ending all ANSI color escape codes so that the colors don’t spill 
over to my border and such. I want to do as little terminal specific things 
in my app as possible.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/bcd989eb-e006-4c3f-b920-8ff3e685284cn%40googlegroups.com.

Reply via email to