summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window-buffer.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2017-06-09 15:17:21 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2017-06-09 15:17:21 +0000
commit7e0c43d306a3031179bf4d937c4852f496080dfd (patch)
tree88f23f6127b71d9a99fc87ccb4426c83db53857d /usr.bin/tmux/window-buffer.c
parenteeba01a99b460d83b322536d7bb90fbd0fc75d72 (diff)
Default sort for buffer mode should be time not name.
Diffstat (limited to 'usr.bin/tmux/window-buffer.c')
-rw-r--r--usr.bin/tmux/window-buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/window-buffer.c b/usr.bin/tmux/window-buffer.c
index df1d7a85f8d..17d9c8be9f9 100644
--- a/usr.bin/tmux/window-buffer.c
+++ b/usr.bin/tmux/window-buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-buffer.c,v 1.5 2017/06/07 15:27:46 nicm Exp $ */
+/* $OpenBSD: window-buffer.c,v 1.6 2017/06/09 15:17:20 nicm Exp $ */
/*
* Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -46,13 +46,13 @@ const struct window_mode window_buffer_mode = {
};
enum window_buffer_sort_type {
- WINDOW_BUFFER_BY_NAME,
WINDOW_BUFFER_BY_TIME,
+ WINDOW_BUFFER_BY_NAME,
WINDOW_BUFFER_BY_SIZE,
};
static const char *window_buffer_sort_list[] = {
- "name",
"time",
+ "name",
"size"
};