diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-05-16 15:35:20 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-05-16 15:35:20 +0000 |
commit | 84e6e04b65368f34cae53cc3235b26a3ee59bab5 (patch) | |
tree | ef1eb8938feafb5108ed7c0fe82b8e46e91bdb9a /usr.bin/tmux/paste.c | |
parent | 4633d6cc30c3bc4cce058d05a6e56cda04b2809c (diff) |
Use VIS_CSTYLE for paste buffers also.
Diffstat (limited to 'usr.bin/tmux/paste.c')
-rw-r--r-- | usr.bin/tmux/paste.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/paste.c b/usr.bin/tmux/paste.c index 48cab16721f..9e257239abf 100644 --- a/usr.bin/tmux/paste.c +++ b/usr.bin/tmux/paste.c @@ -1,4 +1,4 @@ -/* $OpenBSD: paste.c,v 1.41 2020/05/16 15:24:28 nicm Exp $ */ +/* $OpenBSD: paste.c,v 1.42 2020/05/16 15:35:19 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -312,7 +312,7 @@ paste_make_sample(struct paste_buffer *pb) { char *buf; size_t len, used; - const int flags = VIS_OCTAL|VIS_TAB|VIS_NL; + const int flags = VIS_OCTAL|VIS_CSTYLE|VIS_TAB|VIS_NL; const size_t width = 200; len = pb->size; |