diff --git a/emacs/.emacs.d/config/init-vterm.el b/emacs/.emacs.d/config/init-vterm.el index a5e35d2..5ff0f48 100644 --- a/emacs/.emacs.d/config/init-vterm.el +++ b/emacs/.emacs.d/config/init-vterm.el @@ -37,6 +37,11 @@ (apply orig-fun args))) (advice-add 'consult-yank-from-kill-ring :around #'vterm-consult-yank-from-kill-ring-action) (advice-add 'consult--insertion-preview :around #'vterm-disable-consult-preview)) + (defun vterm-send-password () + (interactive) + (comint-send-invisible "Enter password: ") + (vterm-send-string "\n") + (clear-this-command-keys)) :general (leader-map "v" #'project-vterm) :custom