зеркало из https://github.com/mozilla/gecko-dev.git
Make the STDOUT generic outputter flush everything it outputs -- this fixes a bug whereby sometimes prompts wouldn't appear until after the user had replied to them.
This commit is contained in:
Родитель
11a403fb80
Коммит
10dc2574fd
|
@ -44,5 +44,6 @@ sub provides {
|
|||
sub output {
|
||||
my $self = shift;
|
||||
my($app, $session, $string) = @_;
|
||||
$| = 1; # flush output even if no newline
|
||||
print $string;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче