develooper Front page | perl.perl6.users | Postings from September 2020

Re: How to unbuffer $*IN

Thread Previous
From:
David Santiago
Date:
September 27, 2020 09:14
Subject:
Re: How to unbuffer $*IN
Message ID:
4b362610-956d-f591-4c99-8995182a458d@gmail.com

Às 21:35 de 26/09/20, Gianni Ceccarelli escreveu:
> On 2020-09-26 David Santiago <demanuel@gmail.com> wrote:
>> I'm trying to capture key presses in the terminal and according to
>> raku's documentation i need to have $*IN unbuffered.
> You have to tell the terminal to stop buffering (AFAIK Raku doesn't
> buffer its inputs), which is not exactly trivial.
>
> You may be better off using
> https://modules.raku.org/dist/Term::ReadKey:cpan:JKRAMER (for example)
>
Thank you. I will take a look :-)

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About