We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
termion
cargo install --git https://github.com/osa1/tiny Updating git repository `https://github.com/osa1/tiny` Installing tiny v0.7.0 (https://github.com/osa1/tiny#11a1832b) Updating crates.io index Downloaded bytes v0.6.0 Downloaded dirs-sys v0.3.5 Downloaded dyn-clone v1.0.3 Downloaded pin-project v1.0.2 Downloaded serde v1.0.118 Downloaded syn v1.0.54 Downloaded dtoa v0.4.6 Downloaded nix v0.19.1 Downloaded tokio-rustls v0.20.0 Downloaded env_logger v0.8.2 Downloaded pin-project-internal v1.0.2 Downloaded ring v0.16.19 Downloaded serde_derive v1.0.118 Downloaded serde_yaml v0.8.14 Downloaded webpki v0.21.4 Downloaded dirs v3.0.1 Downloaded rustc_tools_util v0.2.0 Downloaded pin-project-lite v0.2.0 Downloaded rustls-native-certs v0.4.0 Downloaded tokio v0.3.5 Downloaded libc v0.2.81 Downloaded 21 crates (7.1 MB) in 10.78s (largest was `ring` at 5.2 MB) Compiling winapi v0.3.9 Compiling proc-macro2 v1.0.24 Compiling cfg-if v0.1.10 Compiling unicode-xid v0.2.1 Compiling syn v1.0.54 Compiling log v0.4.11 Compiling libc v0.2.81 Compiling memchr v2.3.4 Compiling cc v1.0.66 Compiling ntapi v0.3.6 Compiling futures-core v0.3.8 Compiling autocfg v1.0.1 Compiling spin v0.5.2 Compiling getrandom v0.1.15 Compiling proc-macro-hack v0.5.19 Compiling lazy_static v1.4.0 Compiling untrusted v0.7.1 Compiling slab v0.4.2 Compiling bitflags v1.2.1 Compiling proc-macro-nested v0.1.6 Compiling libtiny_common v0.1.0 (C:\Users\konrad\.cargo\git\checkouts\tiny-052ac3f82f110ac6\11a1832\libtiny_common) Compiling bytes v0.6.0 Compiling futures-sink v0.3.8 Compiling pin-project-lite v0.2.0 Compiling once_cell v1.5.2 Compiling serde_derive v1.0.118 Compiling base64 v0.12.3 Compiling pin-utils v0.1.0 Compiling unicode-width v0.1.8 Compiling ppv-lite86 v0.2.10 Compiling futures-io v0.3.8 Compiling serde v1.0.118 Compiling cfg-if v1.0.0 Compiling linked-hash-map v0.5.3 Compiling dyn-clone v1.0.3 Compiling numtoa v0.1.0 Compiling rustc_tools_util v0.2.0 Compiling dtoa v0.4.6 Compiling vec_map v0.8.2 Compiling strsim v0.8.0 Compiling libtiny_wire v0.1.0 (C:\Users\konrad\.cargo\git\checkouts\tiny-052ac3f82f110ac6\11a1832\libtiny_wire) Compiling tokio v0.3.5 Compiling futures-channel v0.3.8 Compiling futures-task v0.3.8 Compiling textwrap v0.11.0 Compiling yaml-rust v0.4.4 Compiling tiny v0.7.0 (C:\Users\konrad\.cargo\git\checkouts\tiny-052ac3f82f110ac6\11a1832\tiny) Compiling ring v0.16.19 Compiling env_logger v0.8.2 Compiling rand_core v0.5.1 Compiling termion v1.5.5 error[E0433]: failed to resolve: unresolved import --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\lib.rs:24:9 | 24 | pub use sys::size::terminal_size; | ^^^ | | | unresolved import | help: a similar path exists: `color::env::sys` error[E0433]: failed to resolve: unresolved import --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\lib.rs:27:9 | 27 | pub use sys::tty::{is_tty, get_tty}; | ^^^ | | | unresolved import | help: a similar path exists: `color::env::sys` error[E0433]: failed to resolve: unresolved import --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\async.rs:5:5 | 5 | use sys::tty::get_tty; | ^^^ | | | unresolved import | help: a similar path exists: `color::env::sys` error[E0433]: failed to resolve: unresolved import --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\raw.rs:29:5 | 29 | use sys::attr::{get_terminal_attr, raw_terminal_attr, set_terminal_attr}; | ^^^ | | | unresolved import | help: a similar path exists: `color::env::sys` error[E0432]: unresolved import `sys` --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\raw.rs:28:5 | 28 | use sys::Termios; | ^^^ | | | unresolved import | help: a similar path exists: `color::env::sys` error[E0425]: cannot find function `get_tty` in this scope --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\async.rs:14:36 | 14 | thread::spawn(move || for i in get_tty().unwrap().bytes() { | ^^^^^^^ not found in this scope error[E0425]: cannot find function `get_tty` in this scope --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\async.rs:43:36 | 43 | thread::spawn(move || for i in get_tty().unwrap().bytes() { | ^^^^^^^ not found in this scope error[E0425]: cannot find function `set_terminal_attr` in this scope --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\raw.rs:45:9 | 45 | set_terminal_attr(&self.prev_ios).unwrap(); | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `get_terminal_attr` in this scope --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\raw.rs:90:23 | 90 | let mut ios = get_terminal_attr()?; | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `raw_terminal_attr` in this scope --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\raw.rs:93:9 | 93 | raw_terminal_attr(&mut ios); | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `set_terminal_attr` in this scope --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\raw.rs:95:9 | 95 | set_terminal_attr(&ios)?; | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `set_terminal_attr` in this scope --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\raw.rs:107:9 | 107 | set_terminal_attr(&self.prev_ios)?; | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `get_terminal_attr` in this scope --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\raw.rs:113:23 | 113 | let mut ios = get_terminal_attr()?; | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `raw_terminal_attr` in this scope --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\raw.rs:114:9 | 114 | raw_terminal_attr(&mut ios); | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `set_terminal_attr` in this scope --> C:\Users\konrad\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\raw.rs:115:9 | 115 | set_terminal_attr(&ios)?; | ^^^^^^^^^^^^^^^^^ not found in this scope error: aborting due to 15 previous errors Some errors have detailed explanations: E0425, E0432, E0433. For more information about an error, try `rustc --explain E0425`. error: could not compile `termion`. To learn more, run the command again with --verbose. warning: build failed, waiting for other jobs to finish... error: failed to compile `tiny v0.7.0 (https://github.com/osa1/tiny#11a1832b)`, intermediate artifacts can be found at `C:\Users\konrad\AppData\Local\Temp\cargo-install0ClWCo` Caused by: build failed
The text was updated successfully, but these errors were encountered:
69d43c9
This is expected. Windows terminal does not follow ANSI so ANSI terminal libraries don't work on Windows.
I updated README to make it clear that we support Linux and OSX, and Windows users can run tiny under WSL (Windows Subsystem for Linux).
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: