Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Display strikethrough text properly #252

Open
avahe-kellenberger opened this issue Feb 23, 2020 · 5 comments
Open

Display strikethrough text properly #252

avahe-kellenberger opened this issue Feb 23, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@avahe-kellenberger
Copy link
Collaborator

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

@Bios-Marcel
Copy link
Owner

This should deffo not be a plugin

@Bios-Marcel Bios-Marcel added the enhancement New feature or request label Feb 23, 2020
@Bios-Marcel
Copy link
Owner

@avahe-kellenberger
Copy link
Collaborator Author

Should we attempt fixing upstream or try to find a cordless-centric fix?

@Bios-Marcel
Copy link
Owner

upstream

@Bios-Marcel
Copy link
Owner

There's support for this in tcell now. BUt it's gonna land in the next major release. We'll see what it brings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants