From 28bcf774e5cc13a1a7ab84b0c217c7286b179ea3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 25 Jun 2009 15:48:25 +0000 Subject: New session option, status-utf8, to control the interpretation of top-bit-set characters in status-left and status-right (if on, they are treated as UTF-8; otherwise passed through). --- tmux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmux.c') diff --git a/tmux.c b/tmux.c index 428df33d..670f9ac7 100644 --- a/tmux.c +++ b/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.4 2009/06/02 16:53:20 sobrado Exp $ */ +/* $OpenBSD: tmux.c,v 1.5 2009/06/03 16:54:26 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -315,6 +315,7 @@ main(int argc, char **argv) options_set_string(&global_options, "status-left", "[#S]"); options_set_string( &global_options, "status-right", "\"#24T\" %%H:%%M %%d-%%b-%%y"); + options_set_number(&global_options, "status-utf8", 0); options_init(&global_window_options, NULL); options_set_number(&global_window_options, "aggressive-resize", 0); -- cgit