Cleanup previous PR

This commit is contained in:
Kovid Goyal
2024-07-03 08:59:35 +05:30
parent a4abbec377
commit 1665348b24
2 changed files with 3 additions and 5 deletions

View File

@@ -613,15 +613,13 @@ START_ALLOW_CASE_RANGE
case '\t':
case IMAGE_PLACEHOLDER_CHAR:
return BLANK_FONT;
case 0xe0d7:
case 0xe0d6:
case 0x2500 ... 0x2573:
case 0x2574 ... 0x259f:
case 0x25d6 ... 0x25d7:
case 0x25cb:
case 0x25dc ... 0x25e5:
case 0x2800 ... 0x28ff:
case 0xe0b0 ... 0xe0bf: // powerline box drawing
case 0xe0b0 ... 0xe0bf: case 0xe0d6 ... 0xe0d7: // powerline box drawing
case 0xee00 ... 0xee0b: // fira code progress bar/spinner
case 0x1fb00 ... 0x1fbae: // symbols for legacy computing
return BOX_FONT;

View File

@@ -1011,10 +1011,10 @@ box_chars: Dict[str, List[Callable[[BufType, int, int], Any]]] = {
'': [p(half_hline, level=3), p(half_hline, which='right')],
'': [p(half_vline, level=3), p(half_vline, which='bottom')],
'': [triangle],
'': [p(triangle, inverted = True)],
'': [p(triangle, inverted=True)],
'': [p(half_cross_line, which='tl'), p(half_cross_line, which='bl')],
'': [p(triangle, left=False)],
'': [p(triangle, left=False, inverted = True)],
'': [p(triangle, left=False, inverted=True)],
'': [p(half_cross_line, which='tr'), p(half_cross_line, which='br')],
'': [D],
'': [D],