mirror of
https://github.com/ratatui-org/ratatui
synced 2025-02-16 22:18:51 +00:00
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 |