Add @gycos to the author list.

This commit is contained in:
ticki 2016-11-06 10:26:45 +01:00
parent 8c82c461f9
commit 2f008188e3
2 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
[package] [package]
name = "termion" name = "termion"
version = "1.1.2" version = "1.1.2"
authors = ["ticki <Ticki@users.noreply.github.com>"] authors = ["ticki <Ticki@users.noreply.github.com>", "gycos <alexandre.bury@gmail.com>"]
description = "A bindless library for manipulating terminals." description = "A bindless library for manipulating terminals."
repository = "https://github.com/ticki/termion" repository = "https://github.com/ticki/termion"
documentation = "https://docs.rs/termion" documentation = "https://docs.rs/termion"

View File

@ -227,8 +227,8 @@ where I: Iterator<Item = Result<u8, Error>>
b'~' => { b'~' => {
let str_buf = String::from_utf8(buf).unwrap(); let str_buf = String::from_utf8(buf).unwrap();
// This CSI sequence can be a list of // This CSI sequence can be a list of semicolon-separated
// semicolon-separated numbers. // numbers.
let nums: Vec<u8> = str_buf.split(';') let nums: Vec<u8> = str_buf.split(';')
.map(|n| n.parse().unwrap()) .map(|n| n.parse().unwrap())
.collect(); .collect();
@ -237,8 +237,8 @@ where I: Iterator<Item = Result<u8, Error>>
return error; return error;
} }
// TODO: handle multiple values for key modififiers // TODO: handle multiple values for key modififiers (ex: values
// (ex: values [3, 2] means Shift+Delete) // [3, 2] means Shift+Delete)
match nums[0] { match nums[0] {
1 | 7 => Event::Key(Key::Home), 1 | 7 => Event::Key(Key::Home),
2 => Event::Key(Key::Insert), 2 => Event::Key(Key::Insert),