diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:51 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:51 +0000 |
commit | ac49a1e5b9b1ac67d66de25072a5a197432bece3 (patch) | |
tree | dcdd815c645dbfbdcec79b7fe8b6c40f34e27372 /cmdline/acqprogress.cc | |
parent | 018f15333c0b24232f771a675fc2b4c8cb5fe799 (diff) |
Small cosmetic fixes
Author: jgg
Date: 1998-12-04 23:33:17 GMT
Small cosmetic fixes
Diffstat (limited to 'cmdline/acqprogress.cc')
-rw-r--r-- | cmdline/acqprogress.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/cmdline/acqprogress.cc b/cmdline/acqprogress.cc index 01f6f7945..428f9a4d6 100644 --- a/cmdline/acqprogress.cc +++ b/cmdline/acqprogress.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acqprogress.cc,v 1.5 1998/12/04 21:16:52 jgg Exp $ +// $Id: acqprogress.cc,v 1.6 1998/12/04 23:33:17 jgg Exp $ /* ###################################################################### Acquire Progress - Command line progress meter @@ -235,11 +235,12 @@ bool AcqTextStatus::MediaChange(string Media,string Drive) { if (Quiet <= 0) cout << '\r' << BlankLine << '\r'; - cout << "Media Change: Please insert the Disc labeled '" << Media << "' in "\ - " the drive '" << Drive << "' and press a key" << endl; + cout << "Media Change: Please insert the disc labeled '" << Media << "' in "\ + "the drive '" << Drive << "' and press enter" << endl; - char C; - read(STDIN_FILENO,&C,1); + char C = 0; + while (C != '\n' && C != '\r') + read(STDIN_FILENO,&C,1); Update = true; return true; |