summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2023-11-02 10:38:15 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2023-11-02 10:38:15 +0000
commit0bb2c256b21fda7714c7fc3b97aac1e046c714d2 (patch)
treebffd7fac8471fecd118a722b7ffd21ba62b28b27 /usr.bin
parent0f5600542dc492b308906f0652e30acb21e494fc (diff)
next-prompt can have 1 argument.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/window-copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c
index 741dfd3e1cc..2dd99423282 100644
--- a/usr.bin/tmux/window-copy.c
+++ b/usr.bin/tmux/window-copy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-copy.c,v 1.344 2023/09/04 08:01:43 nicm Exp $ */
+/* $OpenBSD: window-copy.c,v 1.345 2023/11/02 10:38:14 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -2719,7 +2719,7 @@ static const struct {
},
{ .command = "next-prompt",
.minargs = 0,
- .maxargs = 0,
+ .maxargs = 1,
.clear = WINDOW_COPY_CMD_CLEAR_ALWAYS,
.f = window_copy_cmd_next_prompt
},