From 133dc5bea0d46b25b80e2b76a7447afdf71711e3 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 11 Aug 2017 13:06:29 +0000 Subject: autoflush and prompts in shell, patch by Siep git-svn-id: svn://tug.org/texlive/trunk@45018 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/tlmgr.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Master/texmf-dist/scripts') diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index e3e1161892b..5874ac52bb7 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -5912,6 +5912,9 @@ sub action_shell { } } 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 = ; if (!defined($ans)) { # we got Ctrl-D, just break out -- cgit v1.2.3