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

refactor(tui): improve the termion panic hook #169

Closed eld4niz closed 6 months ago

eld4niz commented 7 months ago

Description

Termion error handler does not work correctly with current version, so we decided that to rewrite it within https://github.com/orhun/kmon/pull/141 and implemented the same for systeroid-tui.

Motivation and Context

https://github.com/orhun/systeroid/issues/168

How Has This Been Tested?

I put panic!() to the lib.rs to generate panic and test if terminal will be messed up or not.

Screenshots / Logs (if applicable)

image

Types of Changes

Checklist: