diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2022-12-16 08:13:41 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2022-12-16 08:13:41 +0000 |
commit | 3e6b4730e1a2d82523b1126294d5fc04fb5877d1 (patch) | |
tree | 0ed8e3f0ec14db497221ccb2d8ce1b84632c654e /usr.bin/tmux/cmd-find-window.c | |
parent | 5122670fff6d63b10320b0b2e0f4bbe262b4a3ef (diff) |
Add send-keys -K to handle keys directly as if typed (so look up in key
table). GitHub issue 3361.
Diffstat (limited to 'usr.bin/tmux/cmd-find-window.c')
-rw-r--r-- | usr.bin/tmux/cmd-find-window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-find-window.c b/usr.bin/tmux/cmd-find-window.c index 977a3789017..5b7db89bc6a 100644 --- a/usr.bin/tmux/cmd-find-window.c +++ b/usr.bin/tmux/cmd-find-window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-find-window.c,v 1.54 2021/08/21 20:46:43 nicm Exp $ */ +/* $OpenBSD: cmd-find-window.c,v 1.55 2022/12/16 08:13:40 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -103,8 +103,8 @@ cmd_find_window_exec(struct cmd *self, struct cmdq_item *item) new_args = args_create(); if (args_has(args, 'Z')) - args_set(new_args, 'Z', NULL); - args_set(new_args, 'f', filter); + args_set(new_args, 'Z', NULL, 0); + args_set(new_args, 'f', filter, 0); window_pane_set_mode(wp, NULL, &window_tree_mode, target, new_args); args_free(new_args); |