From efc83934e4308ee03fed0d16cc8d0d044c3cb85e Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 24 Apr 2026 10:08:52 +0000 Subject: [PATCH] No need to stravis the window name twice. --- usr.bin/tmux/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index bafcd7d3411..df0adf2837c 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.314 2026/04/22 07:10:16 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.315 2026/04/24 10:08:52 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -413,7 +413,7 @@ window_set_name(struct window *w, const char *new_name) name = clean_name(new_name, "#"); if (name != NULL) { free(w->name); - utf8_stravis(&w->name, new_name, VIS_OCTAL|VIS_CSTYLE|VIS_TAB|VIS_NL); + w->name = name; notify_window("window-renamed", w); } }