From 28a95cf447b862b1660abd417c2325b2447f49df Mon Sep 17 00:00:00 2001 From: Ticki Date: Tue, 15 Mar 2016 21:36:33 +0100 Subject: [PATCH] Libterm is now termion --- Cargo.toml | 2 +- README.md | 4 ++-- examples/async.rs | 4 ++-- examples/keys.rs | 4 ++-- examples/read.rs | 4 ++-- examples/simple.rs | 4 ++-- examples/size.rs | 4 ++-- src/lib.rs | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6ea1488..f8b1c94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "libterm" +name = "termion" version = "0.1.0" authors = ["Ticki "] diff --git a/README.md b/README.md index 88c33af..c9deda2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -libterm +Termion ======= A pure Rust library for handling, manipulating and reading information about terminals. This provides a full-featured alternative to Termbox. @@ -34,7 +34,7 @@ Usage See `examples/`, and the documentation, which can be rendered using `cargo doc`. -For a more complete example, see [a minesweeper implementation](https://github.com/redox-os/games-for-redox/blob/master/src/minesweeper.rs), that I made for Redox using libterm. +For a more complete example, see [a minesweeper implementation](https://github.com/redox-os/games-for-redox/blob/master/src/minesweeper.rs), that I made for Redox using termion. TODO ---- diff --git a/examples/async.rs b/examples/async.rs index 8053ee6..4b2ec0a 100644 --- a/examples/async.rs +++ b/examples/async.rs @@ -1,6 +1,6 @@ -extern crate libterm; +extern crate termion; -use libterm::{TermWrite, IntoRawMode, async_stdin}; +use termion::{TermWrite, IntoRawMode, async_stdin}; use std::io::{Read, Write, stdout, stdin}; use std::thread; use std::time::Duration; diff --git a/examples/keys.rs b/examples/keys.rs index 215cf34..7c30bbf 100644 --- a/examples/keys.rs +++ b/examples/keys.rs @@ -1,9 +1,9 @@ -extern crate libterm; +extern crate termion; #[cfg(feature = "nightly")] fn main() { - use libterm::{TermRead, TermWrite, IntoRawMode, Key}; + use termion::{TermRead, TermWrite, IntoRawMode, Key}; use std::io::{Write, stdout, stdin}; let stdin = stdin(); diff --git a/examples/read.rs b/examples/read.rs index c63b2ed..b13ec56 100644 --- a/examples/read.rs +++ b/examples/read.rs @@ -1,6 +1,6 @@ -extern crate libterm; +extern crate termion; -use libterm::TermRead; +use termion::TermRead; use std::io::{Write, stdout, stdin}; fn main() { diff --git a/examples/simple.rs b/examples/simple.rs index e1d577c..b998a12 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -1,6 +1,6 @@ -extern crate libterm; +extern crate termion; -use libterm::{TermWrite, IntoRawMode, Color, Style}; +use termion::{TermWrite, IntoRawMode, Color, Style}; use std::io::{Read, Write, stdout, stdin}; fn main() { diff --git a/examples/size.rs b/examples/size.rs index 0f6988f..e91fa54 100644 --- a/examples/size.rs +++ b/examples/size.rs @@ -1,6 +1,6 @@ -extern crate libterm; +extern crate termion; -use libterm::terminal_size; +use termion::terminal_size; fn main() { println!("Size is {:?}", terminal_size().unwrap()) diff --git a/src/lib.rs b/src/lib.rs index c459fe7..2a2b34c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -//! Libterm is a pure Rust library for reading, manipulating, and handling terminals. +//! termion is a pure Rust library for reading, manipulating, and handling terminals. //! //! This crate is not stable, yet. However, if you do want stability, you should specify the //! revision (commit hash) in your `Cargo.toml`, this way builds are complete reproducible, and won't