lotabout / tuikit

Tool kit for writing TUI applications in Rust.
MIT License
104 stars 28 forks source link

Add shutdown timeout #35

Open totph opened 3 years ago

totph commented 3 years ago

With both xterm (v366) and konsole (20.12.2) using rustc 1.52.1 the shutdown sometimes hangs indefinitely, so a timeout is added.


This happens both with and without clear_on_exit, and so far I could only reproduce it with release binaries, not with debug ones. Note that this just fixes the symptom, I do not know if the cause is actually misbehavior of the terminal or something else.