=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty-term.c,v retrieving revision 1.100 retrieving revision 1.101 diff -c -r1.100 -r1.101 *** src/usr.bin/tmux/tty-term.c 2023/09/02 09:17:23 1.100 --- src/usr.bin/tmux/tty-term.c 2023/10/17 09:55:32 1.101 *************** *** 1,4 **** ! /* $OpenBSD: tty-term.c,v 1.100 2023/09/02 09:17:23 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tty-term.c,v 1.101 2023/10/17 09:55:32 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott *************** *** 761,767 **** { const char *x = tty_term_string(term, code), *s; ! s = tparm((char *)x, a); if (s == NULL) { log_debug("could not expand %s", tty_term_codes[code].name); return (""); --- 761,767 ---- { const char *x = tty_term_string(term, code), *s; ! s = tiparm_s(1, 0, x, a); if (s == NULL) { log_debug("could not expand %s", tty_term_codes[code].name); return (""); *************** *** 774,780 **** { const char *x = tty_term_string(term, code), *s; ! s = tparm((char *)x, a, b); if (s == NULL) { log_debug("could not expand %s", tty_term_codes[code].name); return (""); --- 774,780 ---- { const char *x = tty_term_string(term, code), *s; ! s = tiparm_s(2, 0, x, a, b); if (s == NULL) { log_debug("could not expand %s", tty_term_codes[code].name); return (""); *************** *** 788,794 **** { const char *x = tty_term_string(term, code), *s; ! s = tparm((char *)x, a, b, c); if (s == NULL) { log_debug("could not expand %s", tty_term_codes[code].name); return (""); --- 788,794 ---- { const char *x = tty_term_string(term, code), *s; ! s = tiparm_s(3, 0, x, a, b, c); if (s == NULL) { log_debug("could not expand %s", tty_term_codes[code].name); return (""); *************** *** 801,807 **** { const char *x = tty_term_string(term, code), *s; ! s = tparm((char *)x, (long)a); if (s == NULL) { log_debug("could not expand %s", tty_term_codes[code].name); return (""); --- 801,807 ---- { const char *x = tty_term_string(term, code), *s; ! s = tiparm_s(1, 1, x, a); if (s == NULL) { log_debug("could not expand %s", tty_term_codes[code].name); return (""); *************** *** 815,821 **** { const char *x = tty_term_string(term, code), *s; ! s = tparm((char *)x, (long)a, (long)b); if (s == NULL) { log_debug("could not expand %s", tty_term_codes[code].name); return (""); --- 815,821 ---- { const char *x = tty_term_string(term, code), *s; ! s = tiparm_s(2, 3, x, a, b); if (s == NULL) { log_debug("could not expand %s", tty_term_codes[code].name); return ("");