Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Can I capture string typING in STDIN without press enter?

by zwon (Abbot)
on May 30, 2012 at 11:49 UTC ( #973269=note: print w/replies, xml ) Need Help??


in reply to Re: Can I capture string typING in STDIN without press enter?
in thread Can I capture string typING in STDIN without press enter?

Typing Chinese is actually quite different from English, because the same sequence of keys may match several Chinese characters. Usually user can select the right character from some pop-up. If OP not just count keystrokes, but also checks the input simple ReadKey won't help him.
  • Comment on Re^2: Can I capture string typING in STDIN without press enter?

Replies are listed 'Best First'.
Re^3: Can I capture string typING in STDIN without press enter?
by exilepanda (Pilgrim) on May 30, 2012 at 15:02 UTC
    Thank you for supplementary. Indeed that's my problem and thaz why I need STDIN badly.. just seems the last row still need to get done with readkey by anyway..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973269]
help
Chatterbox?
[marto]: good morning all

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2017-03-25 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (311 votes). Check out past polls.