diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2018-02-15 09:09:50 +0900 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2018-07-23 08:20:07 -0400 |
commit | 2b70b54739a8a422aff85f0183fb69eb339c35d4 (patch) | |
tree | 282c47615c71006d6173d4a6eb1043e43c0a9f9a /lisp/emacs-lisp/debug.el | |
parent | 5de444112cf19c078d4a74752a50e890233ef033 (diff) | |
download | emacs-2b70b54739a8a422aff85f0183fb69eb339c35d4.tar.gz emacs-2b70b54739a8a422aff85f0183fb69eb339c35d4.tar.bz2 emacs-2b70b54739a8a422aff85f0183fb69eb339c35d4.zip |
Prevent line-mode term from showing user passwords
For buffers whose mode derive from comint-mode, the user password is
read from the minibuffer and it's hidden. A buffer in term-mode and
line submode, instead shows the passwords. Make buffers in line
term-mode to hide passwords too (Bug#30190).
* lisp/term.el (term-send-invisible): Prefer the more robust
`read-passwd' instead of `term-read-noecho'.
(term-watch-for-password-prompt): New function.
(term-emulate-terminal): Call it each time we receive non-escape
sequence output.
Co-authored-by: Noam Postavsky <npostavs@gmail.com>
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions