mfontanini / presenterm

A markdown terminal slideshow tool
https://mfontanini.github.io/presenterm/
BSD 2-Clause "Simplified" License
1.33k stars 32 forks source link

feat: use a cleaner execution error UI #256

Closed mfontanini closed 5 months ago

mfontanini commented 5 months ago

This changes the error reporting when the execution of a code snippet fails so that instead of appending a "[finished with error]" string at the end, we display "finished with error" at the little status box in between the code snippet and the execution output. See screenshot for reference. @dmackdev thoughts on this? I found the current UI kind of annoying when running broken code snippets. Maybe as an addition to this, the "finished with error" could have a red (configurable) color so it's more obvious.

image

mfontanini commented 5 months ago

Now with styling (still need to adjust colors in all themes, and I'm not too happy with the orange used in this theme already):

asciicast