diff options
author | 2019-04-02 09:03:39 +0000 | |
---|---|---|
committer | 2019-04-02 09:03:39 +0000 | |
commit | 4aafca52ec817e12172fc9ba1e20654e46c1bbfc (patch) | |
tree | 2a1215bc03ce5790854278f942313c62c155b7f8 /usr.bin/tmux/tmux.h | |
parent | use a compact list for previous, and tweak a little; ok florian (diff) | |
download | wireguard-openbsd-4aafca52ec817e12172fc9ba1e20654e46c1bbfc.tar.xz wireguard-openbsd-4aafca52ec817e12172fc9ba1e20654e46c1bbfc.zip |
Add an argument to copy commands to set the prefix for the buffer name,
allows buffers for different sessions to be named separately.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 750ac755722..cafd3e752e2 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.878 2019/04/02 08:45:32 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.879 2019/04/02 09:03:39 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1611,7 +1611,7 @@ struct paste_buffer *paste_walk(struct paste_buffer *); struct paste_buffer *paste_get_top(const char **); struct paste_buffer *paste_get_name(const char *); void paste_free(struct paste_buffer *); -void paste_add(char *, size_t); +void paste_add(const char *, char *, size_t); int paste_rename(const char *, const char *, char **); int paste_set(char *, size_t, const char *, char **); char *paste_make_sample(struct paste_buffer *); |