aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-05-02 08:34:39 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-05-02 08:34:39 +0000
commit9164dd63e7f670d3bd6e5132b3d15969aff1d55f (patch)
tree0cc203c21cd8d93e251f00fd03ed9319eec8b651 /tmux.h
parent827fac4c0be130e0410e50a4bd948242c7f9966b (diff)
downloadrtmux-9164dd63e7f670d3bd6e5132b3d15969aff1d55f.tar.gz
rtmux-9164dd63e7f670d3bd6e5132b3d15969aff1d55f.tar.bz2
rtmux-9164dd63e7f670d3bd6e5132b3d15969aff1d55f.zip
Only worry about complete seconds for status line update. Also reduce poll interval and de-magic-number it.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 211550cc..8fa98d3d 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.309 2009-04-30 21:17:06 nicm Exp $ */
+/* $Id: tmux.h,v 1.310 2009-05-02 08:34:39 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -127,6 +127,9 @@ extern const char *__progname;
/* Escape timer period, in milliseconds. */
#define ESCAPE_PERIOD 250
+/* Maximum poll timeout (when attached). */
+#define POLL_TIMEOUT 50
+
/* Fatal errors. */
#define fatal(msg) log_fatal("%s: %s", __func__, msg);
#define fatalx(msg) log_fatalx("%s: %s", __func__, msg);