mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
...
This commit is contained in:
@@ -213,11 +213,15 @@ class IssueData:
|
|||||||
else:
|
else:
|
||||||
yield ch
|
yield ch
|
||||||
case 'escape':
|
case 'escape':
|
||||||
if ch == 'S':
|
match ch:
|
||||||
state = 'sub_start'
|
case 'S':
|
||||||
else:
|
state = 'sub_start'
|
||||||
yield self.translate_issue_char(ch)
|
case '\\':
|
||||||
state = 'normal'
|
yield '\\'
|
||||||
|
state = 'normal'
|
||||||
|
case _:
|
||||||
|
yield self.translate_issue_char(ch)
|
||||||
|
state = 'normal'
|
||||||
case 'sub_start':
|
case 'sub_start':
|
||||||
if ch == '{': # }
|
if ch == '{': # }
|
||||||
state = 'sub'
|
state = 'sub'
|
||||||
|
|||||||
Reference in New Issue
Block a user