From f3d6d4e80251519577c52212e9fff1883abb51a5 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 24 Apr 2020 16:47:38 +0100 Subject: CUD is not a requirement and tweak some comments. --- tty-term.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tty-term.c') diff --git a/tty-term.c b/tty-term.c index dd65e1e7..e8ac6634 100644 --- a/tty-term.c +++ b/tty-term.c @@ -555,15 +555,9 @@ tty_term_create(struct tty *tty, char *name, int *feat, int fd, char **cause) goto error; } - /* These can be emulated so one of the two is required. */ - if (!tty_term_has(term, TTYC_CUD1) && !tty_term_has(term, TTYC_CUD)) { - xasprintf(cause, "terminal does not support cud1 or cud"); - goto error; - } - /* * If TERM has XT or clear starts with CSI then it is safe to assume - * the terminal is derived from a VT100. This controls whether device + * the terminal is derived from the VT100. This controls whether device * attributes requests are sent to get more information. * * This is a bit of a hack but there aren't that many alternatives. -- cgit