Here is how the usual Ubuntu terminal looks when you run the React development serving using
npm start and make changes to your source:
Say the server was already running and you tried to do
npm start again, you get notified in a colourful message:
And, if you say no, it exits cleanly.
Observe how the output is appended onto the previous contents instead of clearing the screen. The colours are also missing. If the server is already running, this is how the eshell prompt looks like:
This is kind of a mess. Once you say no, it does not exit cleanly but shows the same message again before exiting.
My question is, is there a way to make eshell more like the ubuntu terminal? Is there a modern terminal package for Emacs that could handle these kind of things?