Return to screen.c CVS log | Up to [local] / src / usr.bin / top |
version 1.20, 2010/02/05 10:21:10 | version 1.21, 2017/03/15 04:24:14 | ||
---|---|---|---|
|
|
||
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 */ | ||
/* | /* |