aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
Diffstat (limited to 'sam.c')
-rw-r--r--sam.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sam.c b/sam.c
index 1f2e061..93c41c2 100644
--- a/sam.c
+++ b/sam.c
@@ -281,6 +281,7 @@ typedef struct {
enum {
OPTION_SHELL,
+ OPTION_ESCDELAY,
OPTION_AUTOINDENT,
OPTION_EXPANDTAB,
OPTION_TABWIDTH,
@@ -302,6 +303,11 @@ static const OptionDef options[] = {
OPTION_TYPE_STRING, OPTION_FLAG_NONE,
"Shell to use for external commands (default: $SHELL, /etc/passwd, /bin/sh)",
},
+ [OPTION_ESCDELAY] = {
+ { "escdelay" },
+ OPTION_TYPE_NUMBER, OPTION_FLAG_NONE,
+ "Miliseconds to wait to distinguish <Escape> from terminal escape sequences",
+ },
[OPTION_AUTOINDENT] = {
{ "autoindent", "ai" },
OPTION_TYPE_BOOL, OPTION_FLAG_NONE,