rename ui::Screen to ui::Ui
the explicit screen buffer has been obsoleted by cursor usage :-)
This commit is contained in:
parent
8f2c411975
commit
1084184a9b
@ -11,7 +11,7 @@ use {state::*, sudoku::*, ui::*};
|
||||
use std::{io, time::Duration};
|
||||
|
||||
fn main() {
|
||||
let mut screen = Screen::init(io::stdout());
|
||||
let mut screen = Ui::init(io::stdout());
|
||||
let mut state = State::init(Difficulty::Mid);
|
||||
screen.draw_board().or_crash();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user