我在这里看到了如何启动cygwin shell的答案.但是,cygwin shell输出搞砸了.
(defun cygwin-shell ()
"Run cygwin bash in shell mode."
(interactive)
(let ((explicit-shell-file-name "C:/cygwin/bin/bash"))
(call-interactively 'shell)))
(setq explicit-bash-args '("--login" "-i"))
Run Code Online (Sandbox Code Playgroud)
这是shell的示例输出
]0;~
seth@seth ~
$ cd ~
]0;~
seth@seth ~
$ dir
]0;~
seth@seth ~
Run Code Online (Sandbox Code Playgroud)
可以看出,输出被搞砸了.我该如何解决?
编辑:我只是注意到^ [] 0总是出现在每个命令的末尾\否则输出文本工作正常.无论如何要摆脱这个结局?
| 归档时间: |
|
| 查看次数: |
1395 次 |
| 最近记录: |