From 3e6b4730e1a2d82523b1126294d5fc04fb5877d1 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 16 Dec 2022 08:13:41 +0000 Subject: Add send-keys -K to handle keys directly as if typed (so look up in key table). GitHub issue 3361. --- usr.bin/tmux/cmd-find-window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/tmux/cmd-find-window.c') 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 @@ -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); -- cgit v1.2.3