maaslalani / slides

Terminal based presentation tool
http://maaslalani.com/slides/
MIT License
10.06k stars 277 forks source link

Pre commands inherit stderr from main process #272

Open gramosg opened 1 year ago

gramosg commented 1 year ago

This has two main benefits:

1) Errors during preprocessing are now visible (not on the slides themselves but back on the console after exiting), which helps with debugging. 2) Subprocesses are able to do fine-grained formatting, as terminfo commands now work properly. For example, tput cols and tput lines now return the correct terminal size instead of the defalt 80x24.