Fix Smooth mosaic terminal graphic characters from quaters to thirds

This commit is contained in:
stribor14
2024-03-26 08:00:34 +01:00
parent f5314cb862
commit 08378de48c

View File

@@ -1041,57 +1041,57 @@ box_chars: Dict[str, List[Callable[[BufType, int, int], Any]]] = {
'': [p(quad, x=1), p(quad, y=1)], '': [p(quad, x=1), p(quad, y=1)],
'': [p(quad, x=1), p(quad, y=1), p(quad, x=1, y=1)], '': [p(quad, x=1), p(quad, y=1), p(quad, x=1, y=1)],
'🬼': [p(smooth_mosaic, a=(0, 0.75), b=(0.5, 1))], '🬼': [p(smooth_mosaic, a=(0, 2 / 3), b=(0.5, 1))],
'🬽': [p(smooth_mosaic, a=(0, 0.75), b=(1, 1))], '🬽': [p(smooth_mosaic, a=(0, 2 / 3), b=(1, 1))],
'🬾': [p(smooth_mosaic, a=(0, 0.25), b=(0.5, 1))], '🬾': [p(smooth_mosaic, a=(0, 1 / 3), b=(0.5, 1))],
'🬿': [p(smooth_mosaic, a=(0, 0.25), b=(1, 1))], '🬿': [p(smooth_mosaic, a=(0, 1 / 3), b=(1, 1))],
'🭀': [p(smooth_mosaic, a=(0, 0), b=(0.5, 1))], '🭀': [p(smooth_mosaic, a=(0, 0), b=(0.5, 1))],
'🭁': [p(smooth_mosaic, a=(0, 0.25), b=(0.5, 0))], '🭁': [p(smooth_mosaic, a=(0, 1 / 3), b=(0.5, 0))],
'🭂': [p(smooth_mosaic, a=(0, 0.25), b=(1, 0))], '🭂': [p(smooth_mosaic, a=(0, 1 / 3), b=(1, 0))],
'🭃': [p(smooth_mosaic, a=(0, 0.75), b=(0.5, 0))], '🭃': [p(smooth_mosaic, a=(0, 2 / 3), b=(0.5, 0))],
'🭄': [p(smooth_mosaic, a=(0, 0.75), b=(1, 0))], '🭄': [p(smooth_mosaic, a=(0, 2 / 3), b=(1, 0))],
'🭅': [p(smooth_mosaic, a=(0, 1), b=(0.5, 0))], '🭅': [p(smooth_mosaic, a=(0, 1), b=(0.5, 0))],
'🭆': [p(smooth_mosaic, a=(0, 0.75), b=(1, 0.25))], '🭆': [p(smooth_mosaic, a=(0, 2 / 3), b=(1, 1 / 3))],
'🭇': [p(smooth_mosaic, a=(0.5, 1), b=(1, 0.75))], '🭇': [p(smooth_mosaic, a=(0.5, 1), b=(1, 2 / 3))],
'🭈': [p(smooth_mosaic, a=(0, 1), b=(1, 0.75))], '🭈': [p(smooth_mosaic, a=(0, 1), b=(1, 2 / 3))],
'🭉': [p(smooth_mosaic, a=(0.5, 1), b=(1, 0.25))], '🭉': [p(smooth_mosaic, a=(0.5, 1), b=(1, 1 / 3))],
'🭊': [p(smooth_mosaic, a=(0, 1), b=(1, 0.25))], '🭊': [p(smooth_mosaic, a=(0, 1), b=(1, 1 / 3))],
'🭋': [p(smooth_mosaic, a=(0.5, 1), b=(1, 0))], '🭋': [p(smooth_mosaic, a=(0.5, 1), b=(1, 0))],
'🭌': [p(smooth_mosaic, a=(0.5, 0), b=(1, 0.25))], '🭌': [p(smooth_mosaic, a=(0.5, 0), b=(1, 1 / 3))],
'🭍': [p(smooth_mosaic, a=(0, 0), b=(1, 0.25))], '🭍': [p(smooth_mosaic, a=(0, 0), b=(1, 1 / 3))],
'🭎': [p(smooth_mosaic, a=(0.5, 0), b=(1, 0.75))], '🭎': [p(smooth_mosaic, a=(0.5, 0), b=(1, 2 / 3))],
'🭏': [p(smooth_mosaic, a=(0, 0), b=(1, 0.75))], '🭏': [p(smooth_mosaic, a=(0, 0), b=(1, 2 / 3))],
'🭐': [p(smooth_mosaic, a=(0.5, 0), b=(1, 1))], '🭐': [p(smooth_mosaic, a=(0.5, 0), b=(1, 1))],
'🭑': [p(smooth_mosaic, a=(0, 0.25), b=(1, 0.75))], '🭑': [p(smooth_mosaic, a=(0, 1 / 3), b=(1, 2 / 3))],
'🭒': [p(smooth_mosaic, lower=False, a=(0, 0.75), b=(0.5, 1))], '🭒': [p(smooth_mosaic, lower=False, a=(0, 2 / 3), b=(0.5, 1))],
'🭓': [p(smooth_mosaic, lower=False, a=(0, 0.75), b=(1, 1))], '🭓': [p(smooth_mosaic, lower=False, a=(0, 2 / 3), b=(1, 1))],
'🭔': [p(smooth_mosaic, lower=False, a=(0, 0.25), b=(0.5, 1))], '🭔': [p(smooth_mosaic, lower=False, a=(0, 1 / 3), b=(0.5, 1))],
'🭕': [p(smooth_mosaic, lower=False, a=(0, 0.25), b=(1, 1))], '🭕': [p(smooth_mosaic, lower=False, a=(0, 1 / 3), b=(1, 1))],
'🭖': [p(smooth_mosaic, lower=False, a=(0, 0), b=(0.5, 1))], '🭖': [p(smooth_mosaic, lower=False, a=(0, 0), b=(0.5, 1))],
'🭗': [p(smooth_mosaic, lower=False, a=(0, 0.25), b=(0.5, 0))], '🭗': [p(smooth_mosaic, lower=False, a=(0, 1 / 3), b=(0.5, 0))],
'🭘': [p(smooth_mosaic, lower=False, a=(0, 0.25), b=(1, 0))], '🭘': [p(smooth_mosaic, lower=False, a=(0, 1 / 3), b=(1, 0))],
'🭙': [p(smooth_mosaic, lower=False, a=(0, 0.75), b=(0.5, 0))], '🭙': [p(smooth_mosaic, lower=False, a=(0, 2 / 3), b=(0.5, 0))],
'🭚': [p(smooth_mosaic, lower=False, a=(0, 0.75), b=(1, 0))], '🭚': [p(smooth_mosaic, lower=False, a=(0, 2 / 3), b=(1, 0))],
'🭛': [p(smooth_mosaic, lower=False, a=(0, 1), b=(0.5, 0))], '🭛': [p(smooth_mosaic, lower=False, a=(0, 1), b=(0.5, 0))],
'🭜': [p(smooth_mosaic, lower=False, a=(0, 0.75), b=(1, 0.25))], '🭜': [p(smooth_mosaic, lower=False, a=(0, 2 / 3), b=(1, 1 / 3))],
'🭝': [p(smooth_mosaic, lower=False, a=(0.5, 1), b=(1, 0.75))], '🭝': [p(smooth_mosaic, lower=False, a=(0.5, 1), b=(1, 2 / 3))],
'🭞': [p(smooth_mosaic, lower=False, a=(0, 1), b=(1, 0.75))], '🭞': [p(smooth_mosaic, lower=False, a=(0, 1), b=(1, 2 / 3))],
'🭟': [p(smooth_mosaic, lower=False, a=(0.5, 1), b=(1, 0.25))], '🭟': [p(smooth_mosaic, lower=False, a=(0.5, 1), b=(1, 1 / 3))],
'🭠': [p(smooth_mosaic, lower=False, a=(0, 1), b=(1, 0.25))], '🭠': [p(smooth_mosaic, lower=False, a=(0, 1), b=(1, 1 / 3))],
'🭡': [p(smooth_mosaic, lower=False, a=(0.5, 1), b=(1, 0))], '🭡': [p(smooth_mosaic, lower=False, a=(0.5, 1), b=(1, 0))],
'🭢': [p(smooth_mosaic, lower=False, a=(0.5, 0), b=(1, 0.25))], '🭢': [p(smooth_mosaic, lower=False, a=(0.5, 0), b=(1, 1 / 3))],
'🭣': [p(smooth_mosaic, lower=False, a=(0, 0), b=(1, 0.25))], '🭣': [p(smooth_mosaic, lower=False, a=(0, 0), b=(1, 1 / 3))],
'🭤': [p(smooth_mosaic, lower=False, a=(0.5, 0), b=(1, 0.75))], '🭤': [p(smooth_mosaic, lower=False, a=(0.5, 0), b=(1, 2 / 3))],
'🭥': [p(smooth_mosaic, lower=False, a=(0, 0), b=(1, 0.75))], '🭥': [p(smooth_mosaic, lower=False, a=(0, 0), b=(1, 2 / 3))],
'🭦': [p(smooth_mosaic, lower=False, a=(0.5, 0), b=(1, 1))], '🭦': [p(smooth_mosaic, lower=False, a=(0.5, 0), b=(1, 1))],
'🭧': [p(smooth_mosaic, lower=False, a=(0, 0.25), b=(1, 0.75))], '🭧': [p(smooth_mosaic, lower=False, a=(0, 1 / 3), b=(1, 2 / 3))],
'🭨': [p(half_triangle, inverted=True)], '🭨': [p(half_triangle, inverted=True)],
'🭩': [p(half_triangle, which='top', inverted=True)], '🭩': [p(half_triangle, which='top', inverted=True)],