veeso / termscp

🖥 A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB
https://termscp.veeso.dev
MIT License
1.71k stars 49 forks source link

[BUG] - Panick message when closing Termscp #72

Closed BackSpace54 closed 3 years ago

BackSpace54 commented 3 years ago

Description

When exiting Termscp Windows version got the message: _thread 'main' panicked at 'Original console mode not set: TryFromIntError(())', C:\Users\chris.cargo\regist ry\src\github.com-1ecc6299db9ec823\crossterm-0.20.0\src\event\sys\windows.rs:36:10 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace_

Steps to reproduce

Use Termscp Windows version Open Termscp in native command prompt or WSL Exiting Termscp with ESC key Got panick message

Expected behaviour

Not having panick message ;-)

Environment

Log

Termscp.log attached with RUST_BACKTRACE=1 environment variable set

Additional information

termscp.log

veeso commented 3 years ago

Thanks again for reporting! I've already solved this issue in 0.7.0