pub fn new() -> Result<Self, Box<dyn Error>> {
        let terminal = Terminal::new(CrosstermBackend::new(io::stdout()))?;
        let size = terminal.size()?;
        let terminal_size = Rect::new(0, 0, size.width, size.height);
        Ok(Self {
            terminal,
            terminal_size,
            comp_layouts: Self::calculate_dimensions(terminal_size, &Editor::Hex),
        })
    }
Creates a new screen handler.

# Errors

This errors when constructing the terminal or retrieving the terminal size fails.
src/screen.rs