mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 12:45:17 -07:00
fix(termkey): accept BEL (0x07) as OSC terminator
This commit is contained in:
parent
ce2f770aaa
commit
5999214c24
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user