fix: Update src/backend/crossterm.rs

This commit is contained in:
Josh McKinney 2024-06-28 08:18:44 -07:00 committed by GitHub
parent 0a8f2f26d9
commit 97bf4a3be4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ use crate::{
/// ///
/// Convenience methods ([`CrosstermBackend::stdout`] and [`CrosstermBackend::stderr`] are provided /// Convenience methods ([`CrosstermBackend::stdout`] and [`CrosstermBackend::stderr`] are provided
/// to create a `CrosstermBackend` with [`std::io::stdout`] or [`std::io::stderr`] as the writer /// to create a `CrosstermBackend` with [`std::io::stdout`] or [`std::io::stderr`] as the writer
/// with default settings to enable raw mode and switch to the alternate screen. /// with raw mode enabled and the terminal switched to the alternate screen.
/// ///
/// If the default settings are not desired, the `CrosstermBackend` can be configured using the /// If the default settings are not desired, the `CrosstermBackend` can be configured using the
/// `with_*` methods. These methods return an [`io::Result`] containing self so that they can be /// `with_*` methods. These methods return an [`io::Result`] containing self so that they can be