[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.17 and 1.18

version 1.17, 2007/05/29 00:56:56 version 1.18, 2007/06/10 19:10:06
Line 169 
Line 169 
 void  void
 end_screen(void)  end_screen(void)
 {  {
         if (smart_terminal)          if (smart_terminal) {
                   move(screen_length-1, 0);
                   clrtoeol();
                   refresh();
                 endwin();                  endwin();
           }
         if (is_a_terminal)          if (is_a_terminal)
                 (void) tcsetattr(STDOUT_FILENO, TCSADRAIN, &old_settings);                  (void) tcsetattr(STDOUT_FILENO, TCSADRAIN, &old_settings);
 }  }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18