diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-18 17:54:30 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-18 17:54:30 +0000 |
| commit | 95ff37afd7dffdd97c5b076be08595f688459222 (patch) | |
| tree | 0bc7b8599ab975a437afd6a1a6e727ee72a39633 /osc.c | |
| parent | csi: recognize, but ignore, modifyOtherKeys et al resource setters (diff) | |
osc: terminate reply with ST rather than BEL
This is the preferred terminator anyway, and at least Emacs likes it a
whole lot better.
Diffstat (limited to 'osc.c')
| -rw-r--r-- | osc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |
