sclack icon indicating copy to clipboard operation
sclack copied to clipboard

Draw custom emojis in terminals that support Sixels

Open fpg1503 opened this issue 6 years ago • 3 comments

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

fpg1503 avatar Aug 07 '18 11:08 fpg1503

Caca is used only for attached images. For emojis, we are currently using this codemap.

haskellcamargo avatar Aug 07 '18 11:08 haskellcamargo

I'm talking about custom emojis (that are images)

fpg1503 avatar Aug 07 '18 13:08 fpg1503

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.

saitoha avatar Aug 07 '18 15:08 saitoha