summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/window-buffer.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-06-09 15:29:15 +0000
committernicm <nicm@openbsd.org>2017-06-09 15:29:15 +0000
commitb38aa7120f63ffa2b77e984b97a2b1091d2bf2d4 (patch)
treebeb95094bfb5a60c0ea34c2fb4cb91762eca6302 /usr.bin/tmux/window-buffer.c
parentDefault sort for buffer mode should be time not name. (diff)
downloadwireguard-openbsd-b38aa7120f63ffa2b77e984b97a2b1091d2bf2d4.tar.xz
wireguard-openbsd-b38aa7120f63ffa2b77e984b97a2b1091d2bf2d4.zip
Add -O option to choose-* to set initial sort order.
Diffstat (limited to 'usr.bin/tmux/window-buffer.c')
-rw-r--r--usr.bin/tmux/window-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-buffer.c b/usr.bin/tmux/window-buffer.c
index 17d9c8be9f9..12995e64695 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.6 2017/06/09 15:17:20 nicm Exp $ */
+/* $OpenBSD: window-buffer.c,v 1.7 2017/06/09 15:29:15 nicm Exp $ */
/*
* Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -257,7 +257,7 @@ window_buffer_init(struct window_pane *wp, __unused struct cmd_find_state *fs,
else
data->command = xstrdup(args->argv[0]);
- data->data = mode_tree_start(wp, window_buffer_build,
+ data->data = mode_tree_start(wp, args, window_buffer_build,
window_buffer_draw, window_buffer_search, data,
window_buffer_sort_list, nitems(window_buffer_sort_list), &s);