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

This commit is contained in:
Gregory Anders 2023-11-30 11:55:50 -06:00
parent ce2f770aaa
commit 5999214c24

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 &&