Bump default escapetime from 1 (ie: 100ms) to 3 (ie: 300ms). Hopefully

this will make it less likely to misinterpret arrow keys as seperate
keys when running over anything slower than a console.

This has been talked about for a while, I hope it's long enough but not
too long to be annoying.
This commit is contained in:
Peter Wemm 1996-12-30 15:51:51 +00:00
parent c3f47ca9fa
commit 51ce9de0e7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21100

View File

@ -341,7 +341,7 @@ opts_init(sp, oargs)
(void)snprintf(b1, sizeof(b1),
"directory=%s", (s = getenv("TMPDIR")) == NULL ? _PATH_TMP : s);
OI(O_DIRECTORY, b1);
OI(O_ESCAPETIME, "escapetime=1");
OI(O_ESCAPETIME, "escapetime=3");
OI(O_KEYTIME, "keytime=6");
OI(O_MATCHTIME, "matchtime=7");
(void)snprintf(b1, sizeof(b1), "msgcat=%s", _PATH_MSGCAT);