repl: Improve stored output
The repl output cells are saved.
This PR rework few things here and there to make it consistent. This prepares the use of more prompt toolkit print.
Plus few small other fixes
The repl output cells are saved.
This PR rework few things here and there to make it consistent. This prepares the use of more prompt toolkit print.
Plus few small other fixes