Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Added interactive test #9

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleaned up cargo.toml
TimonPost committed Nov 16, 2019
commit c611c68778473281fa2b33d7aebe66b8f068a31d
34 changes: 34 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -2,5 +2,6 @@
members = [
"examples",
"first-depth-search",
"snake"
"snake",
"interactive-test"
]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -34,10 +34,10 @@ $ cargo run --bin alternate_screen

## License

This project is licensed under the MIT License - see the [LICENSE.md](./LICENSE) file for details.
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details.

[s2]: https://img.shields.io/badge/license-MIT-blue.svg
[l2]: ./LICENSE
[l2]: LICENSE

[s5]: https://img.shields.io/discord/560857607196377088.svg?logo=discord
[l5]: https://discord.gg/K4nyTDB
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -12,4 +12,4 @@ readme = "README.md"
edition = "2018"

[dependencies]
crossterm = { git = "https://github.com/crossterm-rs/crossterm" }
crossterm = { path = "../../crossterm" }
2 changes: 1 addition & 1 deletion examples/src/bin/command_bar.rs
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ use std::{thread, time};
use crossterm::cursor::{Hide, Show};
use crossterm::{
cursor::MoveTo,
input::{input, InputEvent, KeyEvent},
event::{input, InputEvent, KeyEvent},
screen::RawScreen,
terminal::{self, Clear, ClearType},
ExecutableCommand, Output, Result,
1 change: 1 addition & 0 deletions examples/src/bin/foo.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion examples/src/bin/input.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crossterm::input::input;
use crossterm::event::input;

fn read_char() {
let input = input();
2 changes: 1 addition & 1 deletion examples/src/bin/key_events.rs
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
use std::{thread, time::Duration};

use crossterm::{
input::{input, InputEvent, KeyEvent, MouseButton, MouseEvent},
event::{input, InputEvent, KeyEvent, MouseButton, MouseEvent},
screen::RawScreen,
Result,
};
2 changes: 1 addition & 1 deletion examples/src/bin/stderr.rs
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ use std::io::{stderr, Write};

use crossterm::{
cursor::{Hide, MoveTo, Show},
input::input,
event::input,
queue,
screen::{EnterAlternateScreen, LeaveAlternateScreen, RawScreen},
Output, Result,
13 changes: 4 additions & 9 deletions interactive-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
[package]
name = "interactive-test"
name = "crossterm-interactive-test"
version = "0.0.1"
authors = ["Robert Vojta <[email protected]>"]
authors = ["T. Post", "Robert Vojta <[email protected]>"]
edition = "2018"
description = "Interactive test for the anes."
repository = "https://github.com/zrzka/anes-rs"
documentation = "https://docs.rs/anes/"
license = "MIT OR Apache-2.0"
description = "Interactive test for crossterm."
license = "MIT"
exclude = ["target", "Cargo.lock"]
readme = "README.md"
publish = false

[badges]
maintenance = { status = "experimental" }

[dependencies]
crossterm = {git="https://github.com/crossterm-rs/crossterm"}
anes = "0.1.4"