Is there a way to make eshell behave better? By default printenv TERM
returns dumb
. For example brew
often complains about the terminal type and causes eshell to "jiggle" while the progress bar is showing.
This doesn't happen in term
. I suspect this is because TERM=eterm-color
.
I know I could just add brew
to eshell-visual-commands
, but are there any ways of making eterm-color
work in eshell.
Here's the video of brew
behaving weirdly. Unfortunately I couldn't reproduce the error mentioned: https://www.youtube.com/watch?v=XFhM_ToLuaQ
eshell
setsTERM
to bedumb
for a reason--it can't handle a lot of fancier command line interaction (à latop
andssh
).brew
works fine for me througheshell
, and even outputs colors and emoji.TERM
variable (if anything, settingTERM
to be something different would make these kind of problems worse since programs will output more control sequences that eshell can't handle). Unfortunately, I think the answer is "live with it or try to fix eshell".auto-window-scroll
tonil
andscroll-conversely
to large number (>100)scroll-conservatively