mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 04:13:44 +00:00
Fix #7117
This commit is contained in:
parent
946d28ae37
commit
63b8893c50
1 changed files with 6 additions and 5 deletions
|
|
@ -576,8 +576,9 @@ START_ALLOW_CASE_RANGE
|
|||
case 0x2500 ... 0x2573:
|
||||
case 0x2574 ... 0x259f:
|
||||
case 0x2800 ... 0x28ff:
|
||||
case 0xe0b0 ... 0xe0bf: // powerline box drawing
|
||||
case 0x1fb00 ... 0x1fbae: // symbols for legacy computing
|
||||
case 0xe0b0 ... 0xe0bf: // powerline box drawing
|
||||
case 0x1fb00 ... 0x1fb97: // symbols for legacy computing
|
||||
case 0x1fb9a ... 0x1fbae: // symbols for legacy computing
|
||||
return BOX_FONT;
|
||||
default:
|
||||
*is_emoji_presentation = has_emoji_presentation(cpu_cell, gpu_cell);
|
||||
|
|
@ -614,10 +615,10 @@ START_ALLOW_CASE_RANGE
|
|||
return ch - 0x2500; // IDs from 0x00 to 0x9f
|
||||
case 0xe0b0 ... 0xe0d4:
|
||||
return 0xa0 + ch - 0xe0b0; // IDs from 0xa0 to 0xc4
|
||||
case 0x1fb00 ... 0x1fbae:
|
||||
return 0xc5 + ch - 0x1fb00; // IDs from 0xc5 to 0x173
|
||||
case 0x2800 ... 0x28ff:
|
||||
return 0x174 + ch - 0x2800;
|
||||
return 0xc5 + ch - 0x2800; // IDs from 0xc5 to 0x1c4
|
||||
case 0x1fb00 ... 0x1fbae:
|
||||
return 0x1c5 + ch - 0x1fb00; // IDs from 0x1c5 to 0x273
|
||||
default:
|
||||
return 0xffff;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue