From f194f094820c1bc5aa9c20d0b4403275216aa8e7 Mon Sep 17 00:00:00 2001 From: sthen Date: Wed, 21 Jan 2015 12:20:56 +0000 Subject: [PATCH] In options-table.c r1.51 an extra space was added to the default status-right, overrunning status-right-length with long window titles. Allow for the extra space so the last digit of the year isn't lost. ok nicm@ --- usr.bin/tmux/options-table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c index 3aeb498b9ee..41558735397 100644 --- a/usr.bin/tmux/options-table.c +++ b/usr.bin/tmux/options-table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options-table.c,v 1.51 2014/11/05 23:15:11 nicm Exp $ */ +/* $OpenBSD: options-table.c,v 1.52 2015/01/21 12:20:56 sthen Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott @@ -431,7 +431,7 @@ const struct options_table_entry session_options_table[] = { { .name = "status-right", .type = OPTIONS_TABLE_STRING, - .default_str = " \"#{=22:pane_title}\" %H:%M %d-%b-%y" + .default_str = " \"#{=21:pane_title}\" %H:%M %d-%b-%y" }, { .name = "status-right-attr", -- 2.20.1