Add vterm-send-password function
Borrowed from https://github.com/akermu/emacs-libvterm/issues/518
This commit is contained in:
parent
cb5f9ec5fd
commit
86eb32a306
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user