Re: [PATCH] Reset terminal attributes when terminating git send-email
- From
Sean <seanlkml@sympatico.ca>
- Date
- Aug 17, 2007, 22:35 UTC
- Message-ID
- <20070817183544.f2897cb3.seanlkml@sympatico.ca>
- In-Reply-To
- <7vr6m1g5y4.fsf@gitster.siamese.dyndns.org>
On Fri, 17 Aug 2007 15:19:15 -0700 Junio C Hamano <gitster@pobox.com> wrote:
> I wonder if this is something Term::ReadLine when not using > FakeTerm should and does provide... Is this the standard > workaround all the applications that use Term::ReadLine need to > implement themselves?
Unfortunately Term::ReadLine (at least here with perl 5.8.8) does not properly reset the terminal even when used in a test script without FakeTerm. I don't know anything about perl and couldn't turn up any answers to this problem with Google, but maybe there is still a better solution known. It would sure be much nicer if ReadLine just took care of this detail itself.
Sean