diff options
author | nicm <nicm> | 2020-05-16 15:35:19 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 15:35:19 +0000 |
commit | 2df75aa11727538451d7402b5ad1579d7493ce4c (patch) | |
tree | 15954a26a1950b43726d56bcbc1441f3fe077dd0 /window-buffer.c | |
parent | 9605b080f6c942ff2e51a2ba538cccc91c91c161 (diff) | |
download | rtmux-2df75aa11727538451d7402b5ad1579d7493ce4c.tar.gz rtmux-2df75aa11727538451d7402b5ad1579d7493ce4c.tar.bz2 rtmux-2df75aa11727538451d7402b5ad1579d7493ce4c.zip |
Use VIS_CSTYLE for paste buffers also.
Diffstat (limited to 'window-buffer.c')
-rw-r--r-- | window-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/window-buffer.c b/window-buffer.c index 53dfeca4..74be73a4 100644 --- a/window-buffer.c +++ b/window-buffer.c @@ -233,7 +233,7 @@ window_buffer_draw(__unused void *modedata, void *itemdata, while (end != pdata + psize && *end != '\n') end++; buf = xreallocarray(buf, 4, end - start + 1); - utf8_strvis(buf, start, end - start, VIS_OCTAL|VIS_TAB); + utf8_strvis(buf, start, end - start, VIS_OCTAL|VIS_CSTYLE|VIS_TAB); if (*buf != '\0') { screen_write_cursormove(ctx, cx, cy + i, 0); screen_write_nputs(ctx, sx, &grid_default_cell, "%s", |