mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
Properly escape a backslash.
Found by CompCert which notes that \E is not a valid escape sequence. ok nicm@
This commit is contained in:
parent
5e008eefaa
commit
3b089fc69f
@ -110,8 +110,8 @@ static const struct tty_feature tty_feature_overline = {
|
|||||||
|
|
||||||
/* Terminal supports underscore styles. */
|
/* Terminal supports underscore styles. */
|
||||||
static const char *tty_feature_usstyle_capabilities[] = {
|
static const char *tty_feature_usstyle_capabilities[] = {
|
||||||
"Smulx=\E[4::%p1%dm",
|
"Smulx=\\E[4::%p1%dm",
|
||||||
"Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m",
|
"Setulc=\\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
static const struct tty_feature tty_feature_usstyle = {
|
static const struct tty_feature tty_feature_usstyle = {
|
||||||
|
Loading…
Reference in New Issue
Block a user