mirror of
https://github.com/fdehau/tui-rs.git
synced 2024-10-30 21:20:22 +00:00
Modified with_crossterm naming scheme
This commit is contained in:
parent
dc654e9f6c
commit
cd41ca571f
@ -23,8 +23,8 @@ impl CrosstermBackend {
|
||||
CrosstermBackend::default()
|
||||
}
|
||||
|
||||
pub fn with_crossterm(scr: crossterm::Screen) -> CrosstermBackend {
|
||||
CrosstermBackend { screen: scr }
|
||||
pub fn with_screen(screen: crossterm::Screen) -> CrosstermBackend {
|
||||
CrosstermBackend { screen: screen }
|
||||
}
|
||||
|
||||
pub fn screen(&self) -> &crossterm::Screen {
|
||||
|
Loading…
Reference in New Issue
Block a user