X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/45b19add6c4d95a5feca5e710e1a080be6cee4c2..5b0577488ff60e7163fe7dc62a044329d398d726:/apt-pkg/install-progress.cc?ds=sidebyside diff --git a/apt-pkg/install-progress.cc b/apt-pkg/install-progress.cc index 58e552474..f1a9f42dc 100644 --- a/apt-pkg/install-progress.cc +++ b/apt-pkg/install-progress.cc @@ -8,13 +8,12 @@ #include #include #include -#include #include #include -#include #include #include #include +#include #include @@ -334,6 +333,7 @@ void PackageManagerFancy::Stop() // override the progress line (sledgehammer) static const char* clear_screen_below_cursor = "\033[J"; std::cout << clear_screen_below_cursor; + std::flush(std::cout); } child_pty = -1; }