mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
osc: terminate reply with ST rather than BEL
This is the preferred terminator anyway, and at least Emacs likes it a whole lot better.
This commit is contained in:
parent
6c1b2f3c81
commit
95ff37afd7
1 changed files with 1 additions and 1 deletions
2
osc.c
2
osc.c
|
|
@ -18,7 +18,7 @@ osc_query(struct terminal *term, unsigned param)
|
|||
case 11: {
|
||||
char reply[16];
|
||||
snprintf(
|
||||
reply, sizeof(reply), "\033]%u;%06x\x07",
|
||||
reply, sizeof(reply), "\033]%u;%06x\033\\",
|
||||
param,
|
||||
(param == 10 ? term->foreground : term->background) & 0xffffff);
|
||||
vt_to_slave(term, reply, strlen(reply));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue