mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-10 03:10:41 +00:00
Add debuggin mention to doc
This commit is contained in:
parent
b53e2a42bd
commit
af803a4587
@ -45,6 +45,15 @@
|
||||
//! siv.run();
|
||||
//! }
|
||||
//! ```
|
||||
//!
|
||||
//! ## Debugging
|
||||
//!
|
||||
//! The `Cursive` root initializes the terminal on creation, and do cleanups
|
||||
//! on drop. While it is alive, printing to the terminal will not work
|
||||
//! as expected, making debugging a bit harder.
|
||||
//!
|
||||
//! One solution is to redirect stderr to a file when running the application,
|
||||
//! and log to it instead of stdout.
|
||||
#![deny(missing_docs)]
|
||||
|
||||
extern crate ncurses;
|
||||
|
Loading…
Reference in New Issue
Block a user