mirror of
https://github.com/tmux/tmux.git
synced 2026-04-16 03:56:28 +00:00
Add extkeys feature to tmux itself so nested tmux works, GitHub issue 4960.
This commit is contained in:
@@ -464,23 +464,46 @@ tty_default_features(int *feat, const char *name, u_int version)
|
|||||||
#define TTY_FEATURES_BASE_MODERN_XTERM \
|
#define TTY_FEATURES_BASE_MODERN_XTERM \
|
||||||
"256,RGB,bpaste,clipboard,mouse,strikethrough,title"
|
"256,RGB,bpaste,clipboard,mouse,strikethrough,title"
|
||||||
{ .name = "mintty",
|
{ .name = "mintty",
|
||||||
.features = TTY_FEATURES_BASE_MODERN_XTERM
|
.features = TTY_FEATURES_BASE_MODERN_XTERM ","
|
||||||
",ccolour,cstyle,extkeys,margins,overline,usstyle"
|
"ccolour,"
|
||||||
|
"cstyle,"
|
||||||
|
"extkeys,"
|
||||||
|
"margins,"
|
||||||
|
"overline,"
|
||||||
|
"usstyle"
|
||||||
},
|
},
|
||||||
{ .name = "tmux",
|
{ .name = "tmux",
|
||||||
.features = TTY_FEATURES_BASE_MODERN_XTERM
|
.features = TTY_FEATURES_BASE_MODERN_XTERM ","
|
||||||
",ccolour,cstyle,focus,overline,usstyle,hyperlinks"
|
"ccolour,"
|
||||||
|
"cstyle,"
|
||||||
|
"extkeys,"
|
||||||
|
"focus,"
|
||||||
|
"overline,"
|
||||||
|
"usstyle,"
|
||||||
|
"hyperlinks"
|
||||||
},
|
},
|
||||||
{ .name = "rxvt-unicode",
|
{ .name = "rxvt-unicode",
|
||||||
.features = "256,bpaste,ccolour,cstyle,mouse,title,ignorefkeys"
|
.features = "256,"
|
||||||
|
"bpaste,"
|
||||||
|
"ccolour,"
|
||||||
|
"cstyle,"
|
||||||
|
"mouse,"
|
||||||
|
"title,"
|
||||||
|
"ignorefkeys"
|
||||||
},
|
},
|
||||||
{ .name = "iTerm2",
|
{ .name = "iTerm2",
|
||||||
.features = TTY_FEATURES_BASE_MODERN_XTERM
|
.features = TTY_FEATURES_BASE_MODERN_XTERM ","
|
||||||
",cstyle,extkeys,margins,usstyle,sync,osc7,hyperlinks"
|
"cstyle,"
|
||||||
|
"extkeys,"
|
||||||
|
"margins,"
|
||||||
|
"usstyle,"
|
||||||
|
"sync,"
|
||||||
|
"osc7,hyperlinks"
|
||||||
},
|
},
|
||||||
{ .name = "foot",
|
{ .name = "foot",
|
||||||
.features = TTY_FEATURES_BASE_MODERN_XTERM
|
.features = TTY_FEATURES_BASE_MODERN_XTERM ","
|
||||||
",cstyle,extkeys"
|
"cstyle,"
|
||||||
|
"extkeys"
|
||||||
},
|
},
|
||||||
{ .name = "XTerm",
|
{ .name = "XTerm",
|
||||||
/*
|
/*
|
||||||
@@ -488,8 +511,11 @@ tty_default_features(int *feat, const char *name, u_int version)
|
|||||||
* disabled so not set it here - they will be added if
|
* disabled so not set it here - they will be added if
|
||||||
* secondary DA shows VT420.
|
* secondary DA shows VT420.
|
||||||
*/
|
*/
|
||||||
.features = TTY_FEATURES_BASE_MODERN_XTERM
|
.features = TTY_FEATURES_BASE_MODERN_XTERM ","
|
||||||
",ccolour,cstyle,extkeys,focus"
|
"ccolour,"
|
||||||
|
"cstyle,"
|
||||||
|
"extkeys,"
|
||||||
|
"focus"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
u_int i;
|
u_int i;
|
||||||
|
|||||||
Reference in New Issue
Block a user