diff --git a/examples/demo2/big_text.rs b/examples/demo2/big_text.rs index 50c539e9..308ad391 100644 --- a/examples/demo2/big_text.rs +++ b/examples/demo2/big_text.rs @@ -100,9 +100,9 @@ pub enum PixelSize { /// layout::{self, Alignment, Constraint, Direction, Layout, Margin, Rect}, /// style::{self, Color, Modifier, Style, Styled, Stylize}, /// symbols::{self, Marker}, -/// terminal::{CompletedFrame, Frame, Terminal, TerminalOptions, Viewport}, /// text::{self, Line, Masked, Span, Text}, /// widgets::{block::BlockExt, StatefulWidget, Widget}, +/// CompletedFrame, Frame, Terminal, TerminalOptions, Viewport, /// }; /// use tui_big_text::{BigTextBuilder, PixelSize}; /// diff --git a/src/prelude.rs b/src/prelude.rs index 2546be60..6c3a2a6c 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -30,7 +30,7 @@ pub use crate::{ layout::{self, Alignment, Constraint, Direction, Layout, Margin, Position, Rect, Size}, style::{self, Color, Modifier, Style, Stylize}, symbols::{self}, - terminal::{Frame, Terminal}, text::{self, Line, Masked, Span, Text}, widgets::{block::BlockExt, StatefulWidget, Widget}, + Frame, Terminal, }; diff --git a/src/terminal/terminal.rs b/src/terminal/terminal.rs index cfe4d7a3..b33cfd5a 100644 --- a/src/terminal/terminal.rs +++ b/src/terminal/terminal.rs @@ -126,7 +126,7 @@ where /// /// ```rust /// # use std::io::stdout; - /// # use ratatui::{prelude::*, backend::TestBackend, terminal::{Viewport, TerminalOptions}}; + /// # use ratatui::{prelude::*, backend::TestBackend, Viewport, TerminalOptions}; /// let backend = CrosstermBackend::new(stdout()); /// let viewport = Viewport::Fixed(Rect::new(0, 0, 10, 10)); /// let terminal = Terminal::with_options(backend, TerminalOptions { viewport })?;