diff options
author | veltza <106755522+veltza@users.noreply.github.com> | 2023-09-16 16:15:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 16:15:13 +0300 |
commit | 6c54b8870c065a255eb85d8e0b4f70f887d88db3 (patch) | |
tree | 2a0a31e842e180f90db1307070fc8a38f3fda618 | |
parent | ffc756c5ff2e6c1552019a3b2df909783a26c12f (diff) |
Fix sixel filler character (#1422)
The sixel implementation uses the Braille pattern blank character
(U+2800) as a filler character, which is problematic because U+2800
is not a proper Unicode whitespace character. This fix changes the
filler character to a proper Unicode whitespace character U+2000.
Quote from https://en.wikipedia.org/wiki/Whitespace_character:
"The Braille Patterns Unicode block contains U+2800 BRAILLE PATTERN
BLANK, a Braille pattern with no dots raised. Some fonts display the
character as a fixed-width blank, however the Unicode standard
explicitly states that it does not act as a space."
-rw-r--r-- | sixel.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ import ( const ( gSixelBegin = "\033P" - gSixelFiller = '\u2800' + gSixelFiller = '\u2000' ) type sixelScreen struct { |