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:
ian%hixie.ch 2001-11-08 05:03:57 +00:00
Родитель 11a403fb80
Коммит 10dc2574fd
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -44,5 +44,6 @@ sub provides {
sub output {
my $self = shift;
my($app, $session, $string) = @_;
$| = 1; # flush output even if no newline
print $string;
}