From e601e7f10dd07f95137cb735300a091b314406d1 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 2 Nov 2023 10:38:14 +0000 Subject: [PATCH] next-prompt can have 1 argument. --- usr.bin/tmux/window-copy.c | 4 ++-- 1 file 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 @@ -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 }, -- 2.20.1