summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-11-12 12:19:57 +0000
committernicm <nicm@openbsd.org>2015-11-12 12:19:57 +0000
commit65807475c3f5b5a3cf4b3923230ac47e073898ea (patch)
tree2053d82608cc104b376b2e805835dcfed99391f3 /usr.bin/tmux/server.c
parenttmux is UTF-8, so if $TMUX is set (tmux running in tmux), the client is (diff)
downloadwireguard-openbsd-65807475c3f5b5a3cf4b3923230ac47e073898ea.tar.xz
wireguard-openbsd-65807475c3f5b5a3cf4b3923230ac47e073898ea.zip
Tidy utf8.c a little: build table on first use, and make utf8_width take
a u_int rather than splitting and then combining again in utf8_split.
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r--usr.bin/tmux/server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c
index 256cbeb597d..8b2166668f3 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.146 2015/10/31 13:12:03 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.147 2015/11/12 12:19:57 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -186,7 +186,6 @@ server_start(struct event_base *base, int lockfd, char *lockfile)
TAILQ_INIT(&session_groups);
mode_key_init_trees();
key_bindings_init();
- utf8_build();
start_time = time(NULL);