I use M-x term as my primary shell in emacs. However, unlike M-x shell, view-lossage will still store my keystroke if my password is prompted. After some search, it looks like there is no way to stop view-lossage recording when prompted.
I would like to know, is it possible to disable it completely ? How can I workaround this problem ?