aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Fitzhenry <tomfitzhenry@google.com>2021-04-22 09:20:38 +1000
committerTom Fitzhenry <tom@tom-fitzhenry.me.uk>2021-04-22 09:23:52 +1000
commit988f7daf94653fb1e418156f9720c41f786fd6c3 (patch)
tree6e5c816f14ffcc0d27d70b6e41f74d29ce1da577
parent2b1392cb2b14ec5bd0b7355197d5f353aa5d3983 (diff)
WIP: Support opening a vterm over TRAMP/SSH
(find-file /ssh:foo@bar.example.com:) (vterm) Then type `top`, and observe it correctly renders a remote 'top' process.
-rw-r--r--vterm.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/vterm.el b/vterm.el
index 37031d1..3a6eea6 100644
--- a/vterm.el
+++ b/vterm.el
@@ -659,7 +659,8 @@ Exceptions are defined by `vterm-keymap-exceptions'."
"LINES"
"COLUMNS")
process-environment))
- (inhibit-eol-conversion t)
+ ;; TODO: Figure out why inhibit is needed for curses to render correctly.
+ (inhibit-eol-conversion nil)
(coding-system-for-read 'binary)
(process-adaptive-read-buffering nil)
(width (max (- (window-body-width) (vterm--get-margin-width))
@@ -702,8 +703,9 @@ Exceptions are defined by `vterm-keymap-exceptions'."
(if (eq system-type 'berkeley-unix) "" "iutf8")
(window-body-height)
width vterm-shell))
- :coding 'no-conversion
+ ;; :coding 'no-conversion
:connection-type 'pty
+ :file-handler t
:filter #'vterm--filter
;; The sentinel is needed if there are exit functions or if
;; vterm-kill-buffer-on-exit is set to t. In this latter case,