Export all types at top level

This commit is contained in:
Joscha 2023-02-16 09:18:08 +01:00
parent 0d59116012
commit 4ffaae067e
9 changed files with 21 additions and 23 deletions

View file

@ -1,7 +1,7 @@
//! Displaying frames on a terminal.
use std::io::Write;
use std::{io, mem};
use std::io::{self, Write};
use std::mem;
use crossterm::cursor::{Hide, MoveTo, Show};
use crossterm::event::{
@ -12,9 +12,8 @@ use crossterm::style::{PrintStyledContent, StyledContent};
use crossterm::terminal::{Clear, ClearType, EnterAlternateScreen, LeaveAlternateScreen};
use crossterm::{ExecutableCommand, QueueableCommand};
use crate::buffer::{Buffer, Size};
use crate::frame::Frame;
use crate::widthdb::WidthDb;
use crate::buffer::Buffer;
use crate::{Frame, Size, WidthDb};
pub struct Terminal {
/// Render target.