We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getpass.getpass(echo_char=...)
1 parent 6f66590 commit 2162fccCopy full SHA for 2162fcc
Doc/library/getpass.rst
@@ -39,6 +39,14 @@ The :mod:`getpass` module provides two functions:
39
If you call getpass from within IDLE, the input may be done in the
40
terminal you launched IDLE from rather than the idle window itself.
41
42
+ .. note::
43
+ On Unix systems, when *echo_char* is set, the terminal will be
44
+ configured to operate in
45
+ :manpage:`noncanonical mode <termios(3)#Canonical_and_noncanonical_mode>`.
46
+ In particular, this means that line editing shortcuts such as
47
+ :kbd:`Ctrl+U` will not work and may insert unexpected characters into
48
+ the input.
49
+
50
.. versionchanged:: 3.14
51
Added the *echo_char* parameter for keyboard feedback.
52
0 commit comments