summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-send-keys.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-11-07 07:11:25 +0000
committernicm <nicm@openbsd.org>2019-11-07 07:11:25 +0000
commit6eb18d37e9f29758f2e66a2a7d4ddeb7dfbebff7 (patch)
treee016b4481b6e4999bb98ccb7b82e46a3bfc9a36e /usr.bin/tmux/cmd-send-keys.c
parentGive acme-client a chance to work on IPv6 only hosts by using the (diff)
downloadwireguard-openbsd-6eb18d37e9f29758f2e66a2a7d4ddeb7dfbebff7.tar.xz
wireguard-openbsd-6eb18d37e9f29758f2e66a2a7d4ddeb7dfbebff7.zip
Add -F flag to send-keys to expand formats in search-backward and
forward copy mode commands, this makes it easier to use the cursor_word and cursor_line formats. From Anindya Mukherjee in GitHub issue 1964.
Diffstat (limited to 'usr.bin/tmux/cmd-send-keys.c')
-rw-r--r--usr.bin/tmux/cmd-send-keys.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-send-keys.c b/usr.bin/tmux/cmd-send-keys.c
index 9350f8b004e..e30f2f09a19 100644
--- a/usr.bin/tmux/cmd-send-keys.c
+++ b/usr.bin/tmux/cmd-send-keys.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-send-keys.c,v 1.50 2019/07/10 14:33:24 nicm Exp $ */
+/* $OpenBSD: cmd-send-keys.c,v 1.51 2019/11/07 07:11:25 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -33,8 +33,9 @@ const struct cmd_entry cmd_send_keys_entry = {
.name = "send-keys",
.alias = "send",
- .args = { "HlXRMN:t:", 0, -1 },
- .usage = "[-HlXRM] [-N repeat-count] " CMD_TARGET_PANE_USAGE " key ...",
+ .args = { "FHlMN:Rt:X", 0, -1 },
+ .usage = "[-FHlMRX] [-N repeat-count] " CMD_TARGET_PANE_USAGE
+ " key ...",
.target = { 't', CMD_FIND_PANE, 0 },