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