<div dir="ltr">Hello,<div><br></div><div>Is there a way (ideally cross platform but a *nix OS solution would be great) to process user input as they type?</div><div>What I aim to achieve is to count the number of characters a user has entered and display it while they are typing. The entered text will also need to be captured once the user has finished typing.</div>
<div><br></div><div>This is a gui-less CLI tool for python 2.7<br></div><div><br></div><div style>I've seen some information on tty.setraw but I'm not sure how you'd go about wiring that up.</div><div style><br>
</div><div style>Thanks</div><div><div><br></div>-- <br>./Sven
</div></div>