sclack
sclack copied to clipboard
Draw custom emojis in terminals that support Sixels
I see you're using caca to display images but since custom emojis are so small in dimensions I think Sixels would be a better approach
Caca is used only for attached images. For emojis, we are currently using this codemap.
I'm talking about custom emojis (that are images)
Consider Soft character set(DRCS). On VT200 or later, DECDLD sequence can define custom characters.
Recently, this feature is supported by RLogin and mlterm, with two modern extensions. extension 1. Use unicode plane 15 and 16 instead of ISO-2022 character pages. extension 2. Can use color SIXEL bitmap to define gryph pattern.
For more details, see: http://mlterm.sourceforge.net/DRCS-SIXEL-v2
I think this is more appropriate solution than DECSIXEL, but there’s only few DRCS-aware terminals.