Ticket #4396: (tty_check_term): support Contour terminal.

Contour terminal: https://github.com/contour-terminal/contour.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Whisperity 2022-07-30 11:54:43 +02:00 committed by Andrew Borodin
parent 1c31e57c74
commit 6cd17f6bbf

View File

@ -101,6 +101,7 @@ sigintr_handler (int signo)
* foot*
* screen*
* tmux*
* contour*
*/
gboolean
tty_check_term (gboolean force_xterm)
@ -124,7 +125,8 @@ tty_check_term (gboolean force_xterm)
|| strncmp (termvalue, "alacritty", 9) == 0
|| strncmp (termvalue, "foot", 4) == 0
|| strncmp (termvalue, "screen", 6) == 0
|| strncmp (termvalue, "tmux", 4) == 0;
|| strncmp (termvalue, "tmux", 4) == 0
|| strncmp (termvalue, "contour", 7) == 0;
/* *INDENT-ON* */
}