ttyper icon indicating copy to clipboard operation
ttyper copied to clipboard

Ttyper panicks when entering a wrong path

Open InsulinJunkie opened this issue 8 months ago • 0 comments

I tried to use ttyper for the first time and so I tried to see the help section to see a bit what are the args of the program. I misstyped the help option so i typed : ./ttyper help

and I got the following panick :

thread 'main' panicked at src/main.rs:80:53:
Error reading language file.: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Shouldn't the program exit with a code error and a message displaying the error but without panicking ?

InsulinJunkie avatar May 11 '25 16:05 InsulinJunkie