0.17.5 (#438)
This commit is contained in:
parent
a0b737566d
commit
c1e84f7185
@ -1,3 +1,7 @@
|
|||||||
|
# Version 0.17.5
|
||||||
|
- Improved support of keymodifier for linux, arrow keys, function keys, home keys etc.
|
||||||
|
- Add `SetTitle` command to change the terminal title.
|
||||||
|
|
||||||
# Version 0.17.4
|
# Version 0.17.4
|
||||||
- Add macros for `Colorize` and `Styler` impls, add an impl for `String`
|
- Add macros for `Colorize` and `Styler` impls, add an impl for `String`
|
||||||
- Add shift modifier to uppercase char events on unix
|
- Add shift modifier to uppercase char events on unix
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "crossterm"
|
name = "crossterm"
|
||||||
version = "0.17.4"
|
version = "0.17.5"
|
||||||
authors = ["T. Post"]
|
authors = ["T. Post"]
|
||||||
description = "An crossplatform terminal library for manipulating terminals."
|
description = "An crossplatform terminal library for manipulating terminals."
|
||||||
repository = "https://github.com/crossterm-rs/crossterm"
|
repository = "https://github.com/crossterm-rs/crossterm"
|
||||||
@ -55,7 +55,7 @@ crossterm_winapi = "0.6.1"
|
|||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
mio = "0.6"
|
mio = "0.6"
|
||||||
signal-hook = { version = "0.1.13", features = ["mio-support"] }
|
signal-hook = { version = "0.1.15", features = ["mio-support"] }
|
||||||
|
|
||||||
#
|
#
|
||||||
# Dev dependencies (examples, ...)
|
# Dev dependencies (examples, ...)
|
||||||
|
18
README.md
18
README.md
@ -46,6 +46,7 @@ see [Tested Terminals](#tested-terminals) for more info).
|
|||||||
- Exit current process
|
- Exit current process
|
||||||
- Alternate screen
|
- Alternate screen
|
||||||
- Raw screen
|
- Raw screen
|
||||||
|
- Set terminal title
|
||||||
- Event
|
- Event
|
||||||
- Input Events
|
- Input Events
|
||||||
- Mouse Events (press, release, position, button, drag)
|
- Mouse Events (press, release, position, button, drag)
|
||||||
@ -133,9 +134,24 @@ features = ["event-stream"]
|
|||||||
```
|
```
|
||||||
|
|
||||||
| Feature | Description |
|
| Feature | Description |
|
||||||
| :-- | :-- |
|
| :----- | :----- |
|
||||||
| `event-stream` | `futures::Stream` producing `Result<Event>`.|
|
| `event-stream` | `futures::Stream` producing `Result<Event>`.|
|
||||||
|
|
||||||
|
### Dependency Justification
|
||||||
|
|
||||||
|
| Dependency | Used for | Included |
|
||||||
|
| :----- | :----- | :-----
|
||||||
|
| `bitflags` | `KeyModifiers`, those are differ based on input.| always
|
||||||
|
| `lazy_static` | original console color, original terminal mode, saved cursor position, supports ANSI on windows, single event reader per application.| always
|
||||||
|
| `parking_lot` | used for an RW LOCK. | always
|
||||||
|
| `libc` | UNIX terminal_size/raw modes/set_title and several other lowlevel functionality. | UNIX only
|
||||||
|
| `Mio` | event readiness polling, waking up poller | UNIX only
|
||||||
|
| `signal-hook`| signalhook is used to handle terminal resize SIGNAL with Mio. | UNIX only
|
||||||
|
| `winapi`| Used for low-level windows system calls which ANSI codes can't replace| windows only
|
||||||
|
| `futures`| Can be used to for async stream of events | only with a feature flag
|
||||||
|
| `serve`| Se/dese/realizing of events | only with a feature flag
|
||||||
|
|
||||||
|
|
||||||
### Other Resources
|
### Other Resources
|
||||||
|
|
||||||
- [API documentation](https://docs.rs/crossterm/)
|
- [API documentation](https://docs.rs/crossterm/)
|
||||||
|
Loading…
Reference in New Issue
Block a user