#include <sstream>
#include <fcntl.h>
#include <algorithm>
+#include <stdio.h>
namespace APT {
namespace Progress {
void PackageManagerFancy::staticSIGWINCH(int signum)
{
std::vector<PackageManagerFancy *>::const_iterator I;
- for(I = instances.begin(); I != instances.end(); I++)
+ for(I = instances.begin(); I != instances.end(); ++I)
(*I)->HandleSIGWINCH(signum);
}
child_pty = a_child_pty;
int nr_terminal_rows = GetNumberTerminalRows();
if (nr_terminal_rows > 0)
- {
SetupTerminalScrollArea(nr_terminal_rows);
- }
}
void PackageManagerFancy::Stop()