From 47c789a0976ae6171e75b811db45e625ef6d05b5 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 2 Oct 2026 15:04:27 +0000 Subject: [PATCH] Quote session_alert in status-format[2], GitHub issue 5671. --- options-table.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/options-table.c b/options-table.c index 35ec97661..db925233d 100644 --- a/options-table.c +++ b/options-table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options-table.c,v 1.247 2026/09/21 10:22:31 nicm Exp $ */ +/* $OpenBSD: options-table.c,v 1.248 2026/10/02 15:04:27 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott @@ -218,7 +218,7 @@ static const char *options_table_copy_mode_line_numbers_list[] = { "#{E:session-status-style}" \ "]" \ "#[push-default]" \ - "#S#{session_alert}" \ + "#S#{q/h:session_alert}" \ "#[pop-default]" \ "#[norange list=on default] " \ "," \ @@ -229,7 +229,7 @@ static const char *options_table_copy_mode_line_numbers_list[] = { "}" \ "]" \ "#[push-default]" \ - "#S*#{session_alert}" \ + "#S*#{q/h:session_alert}" \ "#[pop-default]" \ "#[norange list=on default] " \ "}"