fix(termkey): accept BEL (0x07) as OSC terminator

This commit is contained in:
Gregory Anders committed 2023-11-30 12:02:10 -06:00
1 parent ce2f770aaa
commit 5999214c24
1 file changed
+2
+2
View File
@@ -653,6 +653,8 @@ static TermKeyResult peekkey_ctrlstring(TermKey *tk, TermKeyCsi *csi, size_t int
size_t str_end = introlen;
while(str_end < tk->buffcount) {
if(CHARAT(str_end) == 0x07) // BEL
break;
if(CHARAT(str_end) == 0x9c) // ST
break;
if(CHARAT(str_end) == 0x1b &&