Forgot the unicode version of APC and PM
This commit is contained in:
parent
0612855c95
commit
cc14562f2c
2 changed files with 3 additions and 1 deletions
|
|
@ -151,6 +151,8 @@ handle_normal_mode_char(Screen *screen, uint32_t ch, PyObject DUMP_UNUSED *dump_
|
|||
case CSI:
|
||||
case OSC:
|
||||
case DCS:
|
||||
case APC:
|
||||
case PM:
|
||||
SET_STATE(ch); break;
|
||||
case NUL:
|
||||
case DEL:
|
||||
|
|
|
|||
|
|
@ -167,6 +167,6 @@ def test_dcs_codes(self):
|
|||
def test_oth_codes(self):
|
||||
s = self.create_screen()
|
||||
pb = partial(self.parse_bytes_dump, s)
|
||||
for prefix in '\033_', '\033^':
|
||||
for prefix in '\033_', '\033^', '\u009e', '\u009f':
|
||||
for suffix in '\u009c', '\033\\':
|
||||
pb('a{}+++{}bcde'.format(prefix, suffix), 'abcde')
|
||||
|
|
|
|||
Loading…
Reference in a new issue