diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-24 16:47:38 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-24 16:47:38 +0100 |
commit | f3d6d4e80251519577c52212e9fff1883abb51a5 (patch) | |
tree | bf996cb10b5e86e2bde9c3fe888d52120ffe4fc0 /tty-term.c | |
parent | 9b571daceec3ba038c669e90e20c3c0c2c755c57 (diff) | |
download | rtmux-f3d6d4e80251519577c52212e9fff1883abb51a5.tar.gz rtmux-f3d6d4e80251519577c52212e9fff1883abb51a5.tar.bz2 rtmux-f3d6d4e80251519577c52212e9fff1883abb51a5.zip |
CUD is not a requirement and tweak some comments.
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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. |