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: show `stderr` output from code execution #252

Closed dmackdev closed 5 months ago

dmackdev commented 5 months ago

Closes https://github.com/mfontanini/presenterm/issues/251.

This uses the os_pipe crate to capture both stdout and stderr from code execution, displaying them interleaved as you would see it in the terminal. The interactivity of seeing each output line as it happens (instead of all at the end) is retained.

https://github.com/dmackdev/presenterm/assets/79006698/0b93e4b3-96dd-4e98-9ac0-e03dd1b43514

mfontanini commented 5 months ago

Awesome, thanks for the fix!