We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6ead39 commit ea8b024Copy full SHA for ea8b024
1 file changed
Lib/getpass.py
@@ -62,7 +62,7 @@ def unix_getpass(prompt='Password: ', stream=None):
62
try:
63
old = termios.tcgetattr(fd) # a copy to save
64
new = old[:]
65
- new[3] &= ~(termios.ECHO|termios.ISIG) # 3 == 'lflags'
+ new[3] &= ~termios.ECHO # 3 == 'lflags'
66
tcsetattr_flags = termios.TCSAFLUSH
67
if hasattr(termios, 'TCSASOFT'):
68
tcsetattr_flags |= termios.TCSASOFT
0 commit comments