cordless
cordless copied to clipboard
Display strikethrough text properly
What do you want
I'd like discord markup strikethrough text (e.g. ~~strikethrough~~) to be displayed as ~~strikethrough~~
Why
Would be a nice QOL feature
Implementation hints
Many terminals support escape sequences for strikethrough
echo -e "\e[9mstrikethrough\e[0m"
I think it would be very easy to write this as a plugin, but should probably be in the client by default
This should deffo not be a plugin
Relevant: https://github.com/gdamore/tcell/issues/256 https://github.com/gdamore/tcell/issues/245 https://github.com/gdamore/tcell/issues/171
Should we attempt fixing upstream or try to find a cordless-centric fix?
upstream
There's support for this in tcell now. BUt it's gonna land in the next major release. We'll see what it brings.