Convert input to upper case on screen as it is typed
Steven D'Aprano
steve at pearwood.info
Thu Apr 14 07:43:51 EDT 2016
On Thu, 14 Apr 2016 05:53 pm, Ben Finney wrote:
> Okay, ‘termios.tcgetattr’ will let me preserve the attributes, and with
> Dan Sommers's suggestion of which attribute to use, I may have a shot at
> setting the terminal attributes.
>
> Then with a top-level exception handler I can clean up by restoring the
> saved attributes with ‘termios.tcsetattr’.
>
> I will investigate along those lines.
If you get this working, please post your solution here, and consider
publishing it on ActiveState:
http://code.activestate.com/recipes/
Thanks,
--
Steven
More information about the Python-list
mailing list