mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Don't need cud.
This commit is contained in:
parent
083f9cb42a
commit
20fc7a4b6c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tty-term.c,v 1.4 2009-01-10 18:28:09 nicm Exp $ */
|
/* $Id: tty-term.c,v 1.5 2009-01-10 22:24:23 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -96,6 +96,7 @@ struct tty_term_code_entry tty_term_codes[NTTYCODE] = {
|
|||||||
{ TTYC_RI, TTYCODE_STRING, "ri" },
|
{ TTYC_RI, TTYCODE_STRING, "ri" },
|
||||||
{ TTYC_RMACS, TTYCODE_STRING, "rmacs" },
|
{ TTYC_RMACS, TTYCODE_STRING, "rmacs" },
|
||||||
{ TTYC_RMCUP, TTYCODE_STRING, "rmcup" },
|
{ TTYC_RMCUP, TTYCODE_STRING, "rmcup" },
|
||||||
|
{ TTYC_RMIR, TTYCODE_STRING, "rmir" },
|
||||||
{ TTYC_RMKX, TTYCODE_STRING, "rmkx" },
|
{ TTYC_RMKX, TTYCODE_STRING, "rmkx" },
|
||||||
{ TTYC_SETAB, TTYCODE_STRING, "setab" },
|
{ TTYC_SETAB, TTYCODE_STRING, "setab" },
|
||||||
{ TTYC_SETAF, TTYCODE_STRING, "setaf" },
|
{ TTYC_SETAF, TTYCODE_STRING, "setaf" },
|
||||||
@ -248,10 +249,6 @@ tty_term_find(char *name, int fd, char **cause)
|
|||||||
xasprintf(cause, "terminal does not support clear");
|
xasprintf(cause, "terminal does not support clear");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
if (!tty_term_has(term, TTYC_CUD)) {
|
|
||||||
xasprintf(cause, "terminal does not support cud");
|
|
||||||
goto error;
|
|
||||||
}
|
|
||||||
if (!tty_term_has(term, TTYC_CR)) {
|
if (!tty_term_has(term, TTYC_CR)) {
|
||||||
xasprintf(cause, "terminal does not support cr");
|
xasprintf(cause, "terminal does not support cr");
|
||||||
goto error;
|
goto error;
|
||||||
|
Loading…
Reference in New Issue
Block a user