Describe the bug
To Reproduce Steps to reproduce the behavior:
- Run forest
- Run
forest-cli snapshot export in another terminal window
- Upon successful export, the export path is displayed in the format
Snapshot located at <PATH>. In MacOS, the terminal displays a garbage % at the end of this path and properly displays the terminal prompt in a new line. In Ubuntu (in a droplet's GUI with a fresh install of both rustup and Forest), the export path collides with the new terminal prompt (which is not displayed on a new line). In both OSes, resizing the terminal window after export results in garbage duplication of characters. While not certain that this is related to the progress bar, resizing the terminal window during snapshot export also results in both duplication of the progress bar and random garbage (duplicated characters) displayed in the terminal.
Log output
Log Output
Expected behaviour
Snapshot export completes successfully, reports status with export path, and restores terminal prompt in a new line with no buggy behavior.
Screenshots
Environment (please complete the following information):
- OS:
- Rust version(e.g.
rustc --version)
- Branch/commit
Other information and links

Describe the bug
To Reproduce Steps to reproduce the behavior:
forest-cli snapshot exportin another terminal windowSnapshot located at <PATH>. In MacOS, the terminal displays a garbage%at the end of this path and properly displays the terminal prompt in a new line. In Ubuntu (in a droplet's GUI with a fresh install of both rustup and Forest), the export path collides with the new terminal prompt (which is not displayed on a new line). In both OSes, resizing the terminal window after export results in garbage duplication of characters. While not certain that this is related to the progress bar, resizing the terminal window during snapshot export also results in both duplication of the progress bar and random garbage (duplicated characters) displayed in the terminal.Log output
Log Output
Expected behaviour
Snapshot export completes successfully, reports status with export path, and restores terminal prompt in a new line with no buggy behavior.
Screenshots
Environment (please complete the following information):
rustc --version)Other information and links