mirror of
https://github.com/fdehau/tui-rs.git
synced 2024-11-11 01:10:24 +00:00
a6b25a4877
Without a terminal-resetting panic hook there are two main problems when an application panics: 1. The report of the panic is distorted because the terminal has not properly left the alternate screen and is still in raw mode. 2. The terminal needs to be manually reset with the `reset` command. To avoid this, the standard panic hook can be extended to first reset the terminal. |
||
---|---|---|
.. | ||
demo | ||
barchart.rs | ||
block.rs | ||
canvas.rs | ||
chart.rs | ||
custom_widget.rs | ||
gauge.rs | ||
layout.rs | ||
list.rs | ||
panic.rs | ||
paragraph.rs | ||
popup.rs | ||
sparkline.rs | ||
table.rs | ||
tabs.rs | ||
user_input.rs |