When picking a buffer because one isn't specified by the user, ignore

named buffers. GitHub issue 3212 from David le Blanc.
This commit is contained in:
nicm
2022-06-04 07:42:07 +00:00
parent 3edda3c5e7
commit 020c403dff
3 changed files with 10 additions and 1 deletions

1
tmux.h
View File

@ -2057,6 +2057,7 @@ u_int paste_buffer_order(struct paste_buffer *);
time_t paste_buffer_created(struct paste_buffer *);
const char *paste_buffer_data(struct paste_buffer *, size_t *);
struct paste_buffer *paste_walk(struct paste_buffer *);
int paste_is_empty(void);
struct paste_buffer *paste_get_top(const char **);
struct paste_buffer *paste_get_name(const char *);
void paste_free(struct paste_buffer *);