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

What's the difference between a 30 symbol Chinese text that takes a minimum of 60 keystrokes to input, and a 57 symbol english text that takes a minimum of 60 keystrokes? (don't forget punctuation and capitals!)

If you're counting keys pressed to determine the typing rate, does that mean that mashing the backspace, delete and shift keys before typing each line will win me a really high score?

  • Comment on Re: Can I capture string typING in STDIN without press enter?

Replies are listed 'Best First'.
Re^2: Can I capture string typING in STDIN without press enter?
by zwon (Abbot) on May 30, 2012 at 11:49 UTC
    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.
      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..
Re^2: Can I capture string typING in STDIN without press enter?
by exilepanda (Friar) on May 30, 2012 at 14:54 UTC
    Yes, it does. so my "typing rate" is simply count by a row start till enter is pressed.