mirror of
https://github.com/tmux/tmux.git
synced 2026-02-16 02:59:16 +00:00
Break sorting out into a common file so formats and modes use the same
code. Also add -O for sorting to the list commands. From Dane Jensen in GitHub issue 4813.
This commit is contained in:
13
paste.c
13
paste.c
@@ -30,19 +30,6 @@
|
||||
* string!
|
||||
*/
|
||||
|
||||
struct paste_buffer {
|
||||
char *data;
|
||||
size_t size;
|
||||
|
||||
char *name;
|
||||
time_t created;
|
||||
int automatic;
|
||||
u_int order;
|
||||
|
||||
RB_ENTRY(paste_buffer) name_entry;
|
||||
RB_ENTRY(paste_buffer) time_entry;
|
||||
};
|
||||
|
||||
static u_int paste_next_index;
|
||||
static u_int paste_next_order;
|
||||
static u_int paste_num_automatic;
|
||||
|
||||
Reference in New Issue
Block a user