mfontanini / presenterm

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

Crashes when trying to user presentation mode `-p` #219

Closed AdaShoelace closed 8 months ago

AdaShoelace commented 8 months ago

When launching presenterm using: presenterm -p presentation.md it crashes with the following message:

thread 'main' panicked at /home/<username>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/presenterm-0.6.1/src/presentation.rs:55:21: index out of bounds: the len is 0 but the index is 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

If more information is needed, please let me know.

mfontanini commented 8 months ago

This was fixed a few days ago in #210.