main: add a custom panic hook, which tries to reset the terminal before printing logs

This commit is contained in:
2026-06-05 12:15:19 +02:00
parent 57fc0657b1
commit 39973c333c
3 changed files with 51 additions and 2 deletions
+1
View File
@@ -6,6 +6,7 @@ edition = "2024"
[dependencies]
async-openai = { version = "0.40.2", features = ["completions", "full"] }
bandcamp = "0.3.4"
better-panic = "0.3.0"
chrono = { version = "0.4.44", features = ["serde"] }
color-eyre = "0.6.5"
crossterm = { version = "0.29.0", features = ["event-stream"] }