tmux: use VIS_NOSLASH to avoid annoying double escaping on paste

from nicm
This commit is contained in:
tb
2026-03-04 07:19:32 +00:00
parent bcbad050d4
commit d2fa20a390

View File

@@ -50,7 +50,7 @@ cmd_paste_buffer_paste(struct window_pane *wp, const char *buf, size_t len)
char *cp;
size_t n;
n = utf8_stravisx(&cp, buf, len, VIS_SAFE);
n = utf8_stravisx(&cp, buf, len, VIS_SAFE|VIS_NOSLASH);
bufferevent_write(wp->event, cp, n);
free(cp);
}