diff options
Diffstat (limited to 'Doc/libtermios.tex')
-rw-r--r-- | Doc/libtermios.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/libtermios.tex b/Doc/libtermios.tex index ca309c8..1db8af8 100644 --- a/Doc/libtermios.tex +++ b/Doc/libtermios.tex @@ -83,7 +83,7 @@ def getpass(prompt = "Password: "): fd = sys.stdin.fileno() old = termios.tcgetattr(fd) new = termios.tcgetattr(fd) - new[3] = new[3] & ~TERMIOS.ECHO # lflags + new[3] = new[3] & \~TERMIOS.ECHO # lflags try: termios.tcsetattr(fd, TERMIOS.TCSADRAIN, new) passwd = raw_input(prompt) |