texlive[45018] Master/texmf-dist/scripts/texlive/tlmgr.pl: autoflush
commits+preining at tug.org
commits+preining at tug.org
Fri Aug 11 15:06:30 CEST 2017
Revision: 45018
http://tug.org/svn/texlive?view=revision&revision=45018
Author: preining
Date: 2017-08-11 15:06:29 +0200 (Fri, 11 Aug 2017)
Log Message:
-----------
autoflush and prompts in shell, patch by Siep
Modified Paths:
--------------
trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl 2017-08-11 05:09:53 UTC (rev 45017)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl 2017-08-11 13:06:29 UTC (rev 45018)
@@ -5912,6 +5912,9 @@
}
}
print "$default_prompt " if (!$did_prompt);
+ # to make sure that flushing is done properly, we ship out
+ # a new line in autoflush mode:
+ print "\n" if $opts{'autoflush'};
my $ans = <STDIN>;
if (!defined($ans)) {
# we got Ctrl-D, just break out
More information about the tex-live-commits
mailing list