[BACK]Return to screen.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / top

Diff for /src/usr.bin/top/screen.c between version 1.20 and 1.21

version 1.20, 2010/02/05 10:21:10 version 1.21, 2017/03/15 04:24:14
Line 116 
Line 116 
         else          else
                 screen_width -= 1;                  screen_width -= 1;
   
         /* get necessary capabilities */          /* get necessary capabilities */
         if (tgetstr("cl", NULL) == NULL || tgetstr("cm", NULL) == NULL) {          if (tgetstr("cl", NULL) == NULL || tgetstr("cm", NULL) == NULL) {
                 smart_terminal = No;                  smart_terminal = No;
                 return;                  return;
         }          }
   
         /* get the actual screen size with an ioctl, if needed */          /* get the actual screen size with an ioctl, if needed */
         /*          /*

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21