开发者

better display in term (/bin/bash) or multi-term (multi-term.el) in Emacs

开发者 https://www.devze.com 2023-02-03 12:07 出处:网络
when I use term inside emacs ( M-x term), I found that if I maximize the window, then the display in quite good (when I am doing something like apt-get install full-texlive or something will give me a

when I use term inside emacs ( M-x term), I found that if I maximize the window, then the display in quite good (when I am doing something like apt-get install full-texlive or something will give me a lot of message). But if I resize the Emacs window or the size is not maximal when I open Emacs, then the display is very awful.....(when there are a lot of message in the terminal); But if I use terminal directly (not run in emacs), the display is very well however I resize it (maximal or not maximal), it adjust the output display. I would like to know if there is 开发者_如何学运维a way to improve the display of term inside emacs.


I think you may be looking for a way to keep long lines from wrapping.

Try

M-x toggle-truncate-lines

Also very useful for shell mode (not term) is to make emacs interpret ANSI codes:

M-x ansi-color-for-comint-mode-off
0

精彩评论

暂无评论...
验证码 换一张
取 消