Skip to content

Commit

Permalink
Fix action fn
Browse files Browse the repository at this point in the history
Always turn on term-line-mode.
  • Loading branch information
thierryvolpiatto committed Sep 20, 2020
1 parent 42923e3 commit 6a6d228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm-apt.el
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ Support install, remove and purge actions."
(buffer-live-p (get-buffer helm-apt-term-buffer)))
(switch-to-buffer helm-apt-term-buffer)
(ansi-term (getenv "SHELL") "term apt")
(setq helm-apt-term-buffer (buffer-name))
(term-line-mode))
(setq helm-apt-term-buffer (buffer-name)))
(term-line-mode)
(let* ((command (cl-case action
(install "sudo apt-get install ")
(reinstall "sudo apt-get install --reinstall ")
Expand Down

0 comments on commit 6a6d228

Please sign in to comment.