[BACK]Return to tty-term.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tty-term.c between version 1.100 and 1.101

version 1.100, 2023/09/02 09:17:23 version 1.101, 2023/10/17 09:55:32
Line 761 
Line 761 
 {  {
         const char      *x = tty_term_string(term, code), *s;          const char      *x = tty_term_string(term, code), *s;
   
         s = tparm((char *)x, a);          s = tiparm_s(1, 0, x, a);
         if (s == NULL) {          if (s == NULL) {
                 log_debug("could not expand %s", tty_term_codes[code].name);                  log_debug("could not expand %s", tty_term_codes[code].name);
                 return ("");                  return ("");
Line 774 
Line 774 
 {  {
         const char      *x = tty_term_string(term, code), *s;          const char      *x = tty_term_string(term, code), *s;
   
         s = tparm((char *)x, a, b);          s = tiparm_s(2, 0, x, a, b);
         if (s == NULL) {          if (s == NULL) {
                 log_debug("could not expand %s", tty_term_codes[code].name);                  log_debug("could not expand %s", tty_term_codes[code].name);
                 return ("");                  return ("");
Line 788 
Line 788 
 {  {
         const char      *x = tty_term_string(term, code), *s;          const char      *x = tty_term_string(term, code), *s;
   
         s = tparm((char *)x, a, b, c);          s = tiparm_s(3, 0, x, a, b, c);
         if (s == NULL) {          if (s == NULL) {
                 log_debug("could not expand %s", tty_term_codes[code].name);                  log_debug("could not expand %s", tty_term_codes[code].name);
                 return ("");                  return ("");
Line 801 
Line 801 
 {  {
         const char      *x = tty_term_string(term, code), *s;          const char      *x = tty_term_string(term, code), *s;
   
         s = tparm((char *)x, (long)a);          s = tiparm_s(1, 1, x, a);
         if (s == NULL) {          if (s == NULL) {
                 log_debug("could not expand %s", tty_term_codes[code].name);                  log_debug("could not expand %s", tty_term_codes[code].name);
                 return ("");                  return ("");
Line 815 
Line 815 
 {  {
         const char      *x = tty_term_string(term, code), *s;          const char      *x = tty_term_string(term, code), *s;
   
         s = tparm((char *)x, (long)a, (long)b);          s = tiparm_s(2, 3, x, a, b);
         if (s == NULL) {          if (s == NULL) {
                 log_debug("could not expand %s", tty_term_codes[code].name);                  log_debug("could not expand %s", tty_term_codes[code].name);
                 return ("");                  return ("");

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101