From: nicm Date: Fri, 9 Jun 2017 15:17:20 +0000 (+0000) Subject: Default sort for buffer mode should be time not name. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=38801d3e80a1940146fe951b3b259ab48053cb04;p=openbsd Default sort for buffer mode should be time not name. --- 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 @@ -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" };