From 0cf631b523c0fb1d93f80653356191f6f3eec895 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 10 Sep 2022 17:01:33 +0000 Subject: [PATCH] Use correct option name. --- usr.bin/tmux/status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/tmux/status.c b/usr.bin/tmux/status.c index 4d3093f179c..ab079bbabe5 100644 --- a/usr.bin/tmux/status.c +++ b/usr.bin/tmux/status.c @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.235 2022/09/09 11:02:23 nicm Exp $ */ +/* $OpenBSD: status.c,v 1.236 2022/09/10 17:01:33 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -271,7 +271,7 @@ status_prompt_line_at(struct client *c) if (c->flags & (CLIENT_STATUSOFF|CLIENT_CONTROL)) return (1); - return (options_get_number(s->options, "status-prompt-line")); + return (options_get_number(s->options, "message-line")); } /* Get window at window list position. */ -- 2.20.1