Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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?
and a moth chases the moon...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2016-12-02 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (50 votes). Check out past polls.