mandown icon indicating copy to clipboard operation
mandown copied to clipboard

Could you add strikethrough escape code support?

Open ZaWertun opened this issue 5 years ago • 2 comments

It would be working in almost all linux terminal emulators. You can test it support with:

echo -e "\e[9mtest\e[0m"

изображение

ZaWertun avatar May 11 '20 12:05 ZaWertun

It would be working in almost all linux terminal emulators.

You can test it support with:


echo -e "\e[9mtest\e[0m"

изображение

That was my first attempt when coding in Ncurses. The escape code, ‘\033’ or ‘\x1b’, does work on win, but somehow refuse to be recognized as ANSI escape codes on a pad. Since I’m using a pad as the container of the actual document, I can’t implement ’\033[9m;’ unless there could be a valid way to render it. The current strikethrough as white rectangle with copiable text is all I could do right now.

But if you find any way to do that, let me know and I’m happy to do change that

Titor8115 avatar May 11 '20 14:05 Titor8115

I just found out that Ncurses 6.2 now supports tput. I might tweak around and see if ANSI strikethrough could be implemented.

Titor8115 avatar May 12 '20 07:05 Titor8115