summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-03-20 11:23:12 +0000
committernicm <nicm@openbsd.org>2012-03-20 11:23:12 +0000
commit369fe0fe08285426495af77ae41f476720f2e87b (patch)
tree2c14f5d7eb1a4fc5c9e205b24fdaafc63165500f
parentAdd a simple form of output rate limiting by counting the number of (diff)
downloadwireguard-openbsd-369fe0fe08285426495af77ae41f476720f2e87b.tar.xz
wireguard-openbsd-369fe0fe08285426495af77ae41f476720f2e87b.zip
50 is a too low trigger default on larger terminals, bump to 250.
-rw-r--r--usr.bin/tmux/options-table.c4
-rw-r--r--usr.bin/tmux/tmux.14
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c
index 45affd4e96e..eba6278d9e8 100644
--- a/usr.bin/tmux/options-table.c
+++ b/usr.bin/tmux/options-table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options-table.c,v 1.25 2012/03/20 11:01:00 nicm Exp $ */
+/* $OpenBSD: options-table.c,v 1.26 2012/03/20 11:23:12 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -468,7 +468,7 @@ const struct options_table_entry window_options_table[] = {
{ .name = "c0-change-trigger",
.type = OPTIONS_TABLE_NUMBER,
- .default_num = 50,
+ .default_num = 250,
.minimum = 0,
.maximum = USHRT_MAX
},
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index b532f4f532d..7aa1bd9e92d 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.283 2012/03/20 11:01:00 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.284 2012/03/20 11:23:12 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -2478,7 +2478,7 @@ milliseconds.
This helps to prevent fast output (such as
.Xr yes 1
overwhelming the terminal).
-The default is a trigger of 50 and an interval of 100.
+The default is a trigger of 250 and an interval of 100.
A trigger of zero disables the rate limiting.
.Pp
.It Ic clock-mode-colour Ar colour