diff options
author | nicm <nicm> | 2023-01-03 11:43:24 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-01-03 11:43:24 +0000 |
commit | a41a92744188ec5c8a8d4ddc100ec15b52d04603 (patch) | |
tree | 1ca299b75a40fad8aba34a14bcefa467869b506d /cmd-queue.c | |
parent | 3fe01ff09c2fe8629ebd5b0f2c2ce3aa5fa33c14 (diff) |
Query the client terminal for foreground and background colours and if
OSC 10 or 11 is received but no colour has been set inside tmux, return
the colour from the first attached client (probably most people will
have all light or or all dark terminals).
Diffstat (limited to 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c index 827630d7..bf1dbdaf 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -834,7 +834,8 @@ cmdq_print_data(struct cmdq_item *item, int parse, struct evbuffer *evb) char *sanitized, *msg, *line; if (!parse) { - utf8_stravisx(&msg, data, size, VIS_OCTAL|VIS_CSTYLE); + utf8_stravisx(&msg, data, size, + VIS_OCTAL|VIS_CSTYLE|VIS_NOSLASH); log_debug("%s: %s", __func__, msg); } else { msg = EVBUFFER_DATA(evb); |