diff options
| author | Eli Zaretskii | 2021-11-11 16:56:46 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2021-11-11 16:56:46 +0200 |
| commit | 4a261ce91dbb6a0cfcbce47428a777147bb86c6d (patch) | |
| tree | b8808ca05c25a493859c2a61b1e1acab479aba22 /src | |
| parent | 386289bdc8461898b05f318b77e0bedf2509537d (diff) | |
| download | emacs-4a261ce91dbb6a0cfcbce47428a777147bb86c6d.tar.gz emacs-4a261ce91dbb6a0cfcbce47428a777147bb86c6d.zip | |
; * src/term.c (init_tty): Fix style of parentheses.
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/term.c b/src/term.c index 51fcef6f1ec..fd8db5349df 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -4155,9 +4155,9 @@ use the Bourne shell command 'TERM=...; export TERM' (C-shell:\n\ | |||
| 4155 | /* Fall back to xterm+direct (semicolon version) if Tc is set | 4155 | /* Fall back to xterm+direct (semicolon version) if Tc is set |
| 4156 | (de-facto standard introduced by tmux) or if requested by | 4156 | (de-facto standard introduced by tmux) or if requested by |
| 4157 | the COLORTERM environment variable. */ | 4157 | the COLORTERM environment variable. */ |
| 4158 | else if ((tigetflag("Tc") != -1) | 4158 | else if ((tigetflag ("Tc") != -1) |
| 4159 | || ((bg = getenv("COLORTERM")) != NULL | 4159 | || ((bg = getenv ("COLORTERM")) != NULL |
| 4160 | && strcasecmp(bg, "truecolor") == 0)) | 4160 | && strcasecmp (bg, "truecolor") == 0)) |
| 4161 | { | 4161 | { |
| 4162 | tty->TS_set_foreground = "\033[%?%p1%{8}%<%t3%p1%d%e38;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m"; | 4162 | tty->TS_set_foreground = "\033[%?%p1%{8}%<%t3%p1%d%e38;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m"; |
| 4163 | tty->TS_set_background = "\033[%?%p1%{8}%<%t4%p1%d%e48;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m"; | 4163 | tty->TS_set_background = "\033[%?%p1%{8}%<%t4%p1%d%e48;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m"; |