Removed items from workspace
This commit is contained in:
parent
6cdce1bc25
commit
5f79acf9e9
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "crossterm"
|
name = "crossterm"
|
||||||
version = "0.8.0"
|
version = "0.8.1"
|
||||||
authors = ["T. Post"]
|
authors = ["T. Post"]
|
||||||
description = "An crossplatform terminal library for manipulating terminals."
|
description = "An crossplatform terminal library for manipulating terminals."
|
||||||
repository = "https://github.com/TimonPost/crossterm"
|
repository = "https://github.com/TimonPost/crossterm"
|
||||||
@ -29,8 +29,6 @@ members = [
|
|||||||
"crossterm_terminal",
|
"crossterm_terminal",
|
||||||
"crossterm_input",
|
"crossterm_input",
|
||||||
"crossterm_screen",
|
"crossterm_screen",
|
||||||
"examples/program_examples/snake",
|
|
||||||
"examples/program_examples/first_depth_search"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
@ -52,7 +50,3 @@ path = "examples/program_examples/logging.rs"
|
|||||||
[[example]]
|
[[example]]
|
||||||
name = "command_bar"
|
name = "command_bar"
|
||||||
path = "examples/program_examples/command_bar.rs"
|
path = "examples/program_examples/command_bar.rs"
|
||||||
|
|
||||||
[[example]]
|
|
||||||
name = "snake"
|
|
||||||
path = "examples/program_examples/snake"
|
|
@ -1,6 +1,8 @@
|
|||||||
extern crate crossterm;
|
extern crate crossterm;
|
||||||
|
|
||||||
use crossterm::{input, ClearType, Crossterm, Screen, Terminal, TerminalCursor, InputEvent, KeyEvent};
|
use crossterm::{
|
||||||
|
input, ClearType, Crossterm, InputEvent, KeyEvent, Screen, Terminal, TerminalCursor,
|
||||||
|
};
|
||||||
|
|
||||||
use std::io::Read;
|
use std::io::Read;
|
||||||
use std::sync::{Arc, Mutex};
|
use std::sync::{Arc, Mutex};
|
||||||
|
@ -6,7 +6,7 @@ mod map;
|
|||||||
mod messages;
|
mod messages;
|
||||||
mod variables;
|
mod variables;
|
||||||
|
|
||||||
use self::crossterm::{Color, Crossterm, Screen, ClearType, InputEvent, KeyEvent};
|
use self::crossterm::{ClearType, Color, Crossterm, InputEvent, KeyEvent, Screen};
|
||||||
|
|
||||||
use self::messages::WELCOME_MESSAGE;
|
use self::messages::WELCOME_MESSAGE;
|
||||||
use self::variables::{Position, Size};
|
use self::variables::{Position, Size};
|
||||||
@ -97,4 +97,3 @@ fn print_welcome_screen() {
|
|||||||
thread::sleep(time::Duration::from_secs(1));
|
thread::sleep(time::Duration::from_secs(1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,10 @@ extern crate crossterm;
|
|||||||
|
|
||||||
use crossterm::Screen;
|
use crossterm::Screen;
|
||||||
use std::collections::VecDeque;
|
use std::collections::VecDeque;
|
||||||
use std::sync::{Arc, Mutex, mpsc::{self, Receiver, Sender}};
|
use std::sync::{
|
||||||
|
mpsc::{self, Receiver, Sender},
|
||||||
|
Arc, Mutex,
|
||||||
|
};
|
||||||
use std::thread::{self, JoinHandle};
|
use std::thread::{self, JoinHandle};
|
||||||
|
|
||||||
/// This is an que that could be shared between threads safely.
|
/// This is an que that could be shared between threads safely.
|
||||||
|
Loading…
Reference in New Issue
Block a user