(term-exec-1): Run process on pty if possible.
This commit is contained in:
parent
7e939f298d
commit
bf0e6b0ce8
1 changed files with 2 additions and 1 deletions
|
|
@ -883,7 +883,8 @@ buffer. The hook term-exec-hook is run after each exec."
|
|||
(format "EMACS=%s (term:%s)" emacs-version term-protocol-version)
|
||||
(format "LINES=%d" term-height)
|
||||
(format "COLUMNS=%d" term-width))
|
||||
process-environment)))
|
||||
process-environment))
|
||||
(process-connection-type t))
|
||||
(apply 'start-process name buffer
|
||||
"/bin/sh" "-c"
|
||||
(format "stty -nl echo rows %d columns %d sane 2>/dev/null;\
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue