Bump to 1.0.7.
This commit is contained in:
parent
5ebda9866f
commit
2ff0916514
|
@ -1,10 +1,10 @@
|
|||
[package]
|
||||
name = "termion"
|
||||
version = "1.0.6"
|
||||
authors = ["Ticki <Ticki@users.noreply.github.com>"]
|
||||
version = "1.0.7"
|
||||
authors = ["ticki <Ticki@users.noreply.github.com>"]
|
||||
description = "A bindless library for manipulating terminals."
|
||||
repository = "https://github.com/ticki/termion"
|
||||
documentation = "https://docs.rs/crate/eudex"
|
||||
documentation = "https://docs.rs/termion"
|
||||
license = "MIT"
|
||||
keywords = ["tty", "color", "terminal", "password", "tui"]
|
||||
exclude = ["target", "CHANGELOG.md", "image.png", "Cargo.lock"]
|
||||
|
|
|
@ -143,7 +143,7 @@ where I: Iterator<Item = Result<u8, Error>>
|
|||
3 => MouseEvent::Release(cx, cy),
|
||||
_ => return error,
|
||||
})
|
||||
}
|
||||
},
|
||||
Some(Ok(b'<')) => {
|
||||
// xterm mouse encoding:
|
||||
// ESC [ < Cb ; Cx ; Cy ; (M or m)
|
||||
|
@ -177,7 +177,6 @@ where I: Iterator<Item = Result<u8, Error>>
|
|||
b'M' => MouseEvent::Press(button, cx, cy),
|
||||
b'm' => MouseEvent::Release(cx, cy),
|
||||
_ => return error,
|
||||
|
||||
}
|
||||
}
|
||||
32 => MouseEvent::Hold(cx, cy),
|
||||
|
@ -185,7 +184,7 @@ where I: Iterator<Item = Result<u8, Error>>
|
|||
};
|
||||
|
||||
Event::Mouse(event)
|
||||
}
|
||||
},
|
||||
Some(Ok(c @ b'0'...b'9')) => {
|
||||
// Numbered escape code.
|
||||
let mut buf = Vec::new();
|
||||
|
@ -238,10 +237,10 @@ where I: Iterator<Item = Result<u8, Error>>
|
|||
v @ 23...24 => Event::Key(Key::F(v - 12)),
|
||||
_ => return error,
|
||||
}
|
||||
}
|
||||
},
|
||||
_ => return error,
|
||||
}
|
||||
}
|
||||
},
|
||||
_ => return error,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue