mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
osc: use BEL terminator in OSC replies to BEL-terminated OSC queries
This matches the documented (and observed) behavior in xterm: > XTerm accepts either BEL or ST for terminating OSC sequences, and > when returning information, uses the same terminator used in a query -- https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Operating-System-Commands
This commit is contained in:
parent
6dfacb9c08
commit
52dcf72d0b
3 changed files with 19 additions and 6 deletions
|
|
@ -172,6 +172,7 @@ struct vt {
|
|||
uint8_t *data;
|
||||
size_t size;
|
||||
size_t idx;
|
||||
bool bel; /* true if OSC string was terminated by BEL */
|
||||
} osc;
|
||||
|
||||
/* Start coordinate for current OSC-8 URI */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue