mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 16:28:19 +02:00
Fix #4273
This commit is contained in:
@@ -792,7 +792,7 @@ def symbol_map(val: str) -> Iterable[Tuple[Tuple[int, int], str]]:
|
|||||||
return int(x[2:], 16)
|
return int(x[2:], 16)
|
||||||
|
|
||||||
for x in parts[0].split(','):
|
for x in parts[0].split(','):
|
||||||
a_, b_ = x.partition('-')[::2]
|
a_, b_ = x.replace('–', '-').partition('-')[::2]
|
||||||
b_ = b_ or a_
|
b_ = b_ or a_
|
||||||
try:
|
try:
|
||||||
a, b = map(to_chr, (a_, b_))
|
a, b = map(to_chr, (a_, b_))
|
||||||
|
|||||||
Reference in New Issue
Block a user