summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2024-03-21 11:53:12 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2024-03-21 11:53:12 +0000
commitd457378b480154b6d064b663a721a52d4b922a36 (patch)
treedcffa97f9554c3270fd0cd1c2567f468863d41e3 /usr.bin
parenteaca46646b34ad5c0f8fd3a87cfb41cc7e0be566 (diff)
Reduce escape-time default to 10 milliseconds, 500 is far too long for
modern terminals and networks. Case made by Kurtis Rader in GitHub issue 3844.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/options-table.c4
-rw-r--r--usr.bin/tmux/tmux.13
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c
index 3dbc1b8479b..65265ce9077 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.169 2024/02/13 08:10:23 nicm Exp $ */
+/* $OpenBSD: options-table.c,v 1.170 2024/03/21 11:53:11 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -286,7 +286,7 @@ const struct options_table_entry options_table[] = {
.scope = OPTIONS_TABLE_SERVER,
.minimum = 0,
.maximum = INT_MAX,
- .default_num = 500,
+ .default_num = 10,
.unit = "milliseconds",
.text = "Time to wait before assuming a key is Escape."
},
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 1989e4c1ece..bf0344bca9c 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.939 2024/03/21 11:51:32 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.940 2024/03/21 11:53:11 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -3745,7 +3745,6 @@ Set the time in milliseconds for which
.Nm
waits after an escape is input to determine if it is part of a function or meta
key sequences.
-The default is 500 milliseconds.
.It Ic editor Ar shell-command
Set the command used when
.Nm