aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-02-09 16:11:26 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-02-09 16:11:26 +0000
commit9d90d9ad705b9059e9bfa61b86cca7744cbca53d (patch)
tree340f4bd1ae4cbf3b9a8887532341f16c09a83f52
parent8c7c4423e1f3110854fb2a41fb11c583773f0022 (diff)
downloadrtmux-9d90d9ad705b9059e9bfa61b86cca7744cbca53d.tar.gz
rtmux-9d90d9ad705b9059e9bfa61b86cca7744cbca53d.tar.bz2
rtmux-9d90d9ad705b9059e9bfa61b86cca7744cbca53d.zip
Increase name refresh interval to 250 ms to reduce CPU use.
-rw-r--r--tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index ddbd2e28..1c6eb8a5 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.260 2009-02-08 16:11:26 nicm Exp $ */
+/* $Id: tmux.h,v 1.261 2009-02-09 16:11:26 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -124,7 +124,7 @@ extern const char *__progname;
#define PANE_MINIMUM 4 /* includes separator line */
/* Automatic name refresh interval, in milliseconds. */
-#define NAME_INTERVAL 100
+#define NAME_INTERVAL 250
/* Fatal errors. */
#define fatal(msg) log_fatal("%s: %s", __func__, msg);