Right now, there is some error handling that involves an eprintln! and then nothing else. In these cases, rather than informing the user in the terminal, we should inform them using our info bar.
Implementation
Look through all the places where we eprintln! on error, and instead send that text to the info bar.
Look at the command mode errors as an example.
Use error mode.
Color the info bar red instead of blue when there is an error that needs to be displayed (also for existing error info in command mode)
Goal
Right now, there is some error handling that involves an
eprintln!
and then nothing else. In these cases, rather than informing the user in the terminal, we should inform them using our info bar.Implementation
eprintln!
on error, and instead send that text to the info bar.