diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2021-10-20 11:48:37 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2021-10-20 11:48:37 +0000 |
| commit | 52dcf72d0b80b9f4c159744447b34d215a38d24c (patch) | |
| tree | dfa4df023068a089b47e7b6278f576bfe43af325 /terminal.h | |
| parent | Merge branch 'nordiq' (diff) | |
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
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 1 |
1 files changed, 1 insertions, 0 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 */ |
