Is there anybody know how to make write a "Typing software"?

Can anyone give me some hint or guideline pls. Thank u.

Picture below show the example of the output.