From: nicm Date: Thu, 2 Nov 2023 10:38:14 +0000 (+0000) Subject: next-prompt can have 1 argument. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e601e7f10dd07f95137cb735300a091b314406d1;p=openbsd next-prompt can have 1 argument. --- 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 @@ -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 },