Hey there,

Maybe I’m just missing something obvious, but I’m a little bit confused as to how eat-eshell-mode works. If I, for example, fire up Eshell with Eat installed:

(elpaca-test
  :interactive t
  :init
  (elpaca eat (eat-eshell-mode))
  (eshell))

Then I try running e.g. top, I’d expect top to open in an Eat buffer, but it’s not doing that for me right now: it just opens in plain ol’ dumpy Term mode.

What am I missing? Is this not what Eshell integration is supposed to do? How do you use Eshell and Eat together?

  • MitchellMarquez42B
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Eat-eshell-mode turns the eshell buffer itself into an eat terminal. Since top is in eshell-visual-commands list, it gets run in a separate term mode buffer. To switch this out for an eat buffer, use eat-eshell-visual-command-mode.

    • varsderkOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Thank you! That’s helpful. I’m a little confused: what benefit does turning the eshell buffer into an eat terminal give you? Better perf? I’m still new to eshell and stuff.

      • varsderkOPB
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        Oooooooooohhhhhhhhhh… I can run things like cal or julia and it handles all the escape codes seamlessly. Wow. Totally sold now.