From 9132211575540f581d230a3b22388c9f842c50c9 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sat, 29 May 2021 13:50:30 +0300 Subject: [PATCH] (tty_check_term): clarify description. Signed-off-by: Andrew Borodin --- lib/tty/tty.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/tty/tty.c b/lib/tty/tty.c index b69b0041d..784488ba1 100644 --- a/lib/tty/tty.c +++ b/lib/tty/tty.c @@ -91,8 +91,14 @@ sigintr_handler (int signo) * * @param force_xterm Set forced the XTerm type * - * @return true if @param force_xterm is true or value of $TERM is one of term*, konsole* - * rxvt*, Eterm, dtterm or alacritty + * @return true if @param force_xterm is true or value of $TERM is one of following: + * term* + * konsole* + * rxvt* + * Eterm + * dtterm + * alacritty* + * screen* (and DISPLAY environment variable is set). */ gboolean tty_check_term (gboolean force_xterm)