orhun / systeroid

A more powerful alternative to sysctl(8) with a terminal user interface 🐧
https://systeroid.cli.rs
Apache License 2.0
1.28k stars 23 forks source link

termion error handler should be updated #168

Closed eld4niz closed 6 months ago

eld4niz commented 7 months ago

Describe the bug Panic handler for termion does not work correctly, as we implemented new one within https://github.com/orhun/kmon/pull/141

To reproduce You can inject panic!() somewhere in the systeroid-tui(I did it within lib.rs file) and it will basically mess up your terminal emulator.

Expected behavior As it is implemented in https://github.com/orhun/kmon/pull/141, panic handler should work same and correctly to not to mess up terminal.

Screenshots / Logs image

Software information

orhun commented 7 months ago

Hey, also interested in fixing this? 🐻

eld4niz commented 7 months ago

Yep, definitely :)