Commit Graph

639 Commits

Author SHA1 Message Date
m-lima
1dd20f3ada
Issue 406: Keep FileDesc alive long enough for ioctl to work (#413) 2020-04-09 19:34:45 +02:00
Timon Post
e61320ef32 0.17.2 2020-04-08 07:43:40 +02:00
Nathan Wilson
3efa8b9477
Removed some unnecessary parentheses and braces. (#409) 2020-04-04 09:21:18 +02:00
Jan Hlavatý
428519994c
Fix handling of unicode characters > 255 (#411) 2020-04-04 09:19:20 +02:00
Timon Post
095731a174 0.17.1 2020-03-28 21:08:14 +01:00
Timon
58ef32b40a
Is terminal a tty and reverted feature from 0.17 which introduced a bug. (#405) 2020-03-28 18:38:07 +01:00
Timon
9c9543d454
0.17 (#403) 2020-03-24 22:00:23 +01:00
Riey
67a6667929
Impl Display for MoveToColumn, MoveToNextLine, MoveToPreviousLine (#399) 2020-03-11 17:21:44 +01:00
Atanas Yankov
52b9d479c1
Termsize fallback (#398)
* Fallback if /dev/tty is missing
2020-03-11 10:12:15 +01:00
Riey
9c9479deb2
Direct write command ansi_codes (#390) 2020-03-10 13:38:38 +01:00
Ron B
e620c6b8be
Add NONE flag to KeyModifiers (#392) 2020-03-10 13:37:02 +01:00
Alexander Rodin
33b90c85c9
Fix links in the docs (#391) 2020-02-29 14:16:03 +01:00
Peter Hindes
49fefd6e8f
Added Support For Chars Colors (#386) 2020-02-27 06:50:29 +01:00
Jonathan Turner
007063896e
Automatically close raw fd (#383) 2020-02-22 07:59:40 +01:00
Timon
e35d4d2c1c 0.15.1 (#381) 2020-02-08 14:23:50 +01:00
Canop
f58aca9354
Changed vec of Attributes to bitfield (#380) 2020-02-07 14:06:41 +01:00
Timon Post
2ba0ac07bc Upgraded versions 2020-01-29 07:38:22 +01:00
Timon Post
a2e4ffe490 0.15 2020-01-29 07:31:14 +01:00
Timon
75c59f32ac
0.15 (#375) 2020-01-29 07:29:35 +01:00
Nathan West
f2fca91b30 Added basic trait implementations to all Commands (#363)
- Added basic trait implementations to all Commands
- Added `Debug` to all public-facing types
- Added `Clone` to several public-facing types, where relevant
- Added `Eq` to all `PartialEq` types
- Added `Debug` and `Clone` to a few internal types
- `ResetColor` uses `&'static str` instead of `String`
- Updated crossterm-winapi dependency
2020-01-28 20:20:26 +01:00
Max Sharnoff
e863b7b75f Fix reporting of CTRL + J 2020-01-28 20:18:01 +01:00
Rob Nugen
42e4968cd6 Fix typo in README.md (#372) 2020-01-24 13:44:40 +01:00
Nathan West
7fb8ad6fa1 Cleaned up command macros and StyledContent (#369) 2020-01-17 19:33:55 +01:00
Nathan West
938ec95b40 Command trait ref (#364) 2020-01-14 17:47:32 +01:00
Timon
9da9c1f5ad
CI error fixes (#366)
Fixed identity conversion
Fixed clippy warning
Fixed tokio example compilation
mio upgrade
2020-01-13 07:46:51 +01:00
Timon Post
938c469b76 Allow identical conversion. 2020-01-11 18:19:52 +01:00
Timon Post
391b1886a7 Reverted exhaustive attribute change. 2020-01-11 18:16:45 +01:00
Timon Post
f8f76dc2e1 0.14.2 2020-01-11 18:10:06 +01:00
Stefan G
17442caee2 Fix TIOCGWINSZ for FreeBSD (#361) 2020-01-11 17:31:12 +01:00
Max Sharnoff
8a9edc7ecd Change __Nonexhaustive variants to attribute (#353) 2019-12-28 08:09:31 +01:00
Timon
43c977dc4f
Relative windows cursor position (#350) 2019-12-17 13:28:43 -06:00
Igor Gnatenko
6fdc819e55 Update parking_lot to 0.10 (#351) 2019-12-17 12:42:17 -06:00
Canop
aad7aaced8 Avoid double evaluation of expression in handle_command! (#349) 2019-12-16 10:33:50 -06:00
Timon
b3cf303295
Addes documentation to examples (#348) 2019-12-16 10:13:35 -06:00
Chris Nickel
68389ac5b4 Getting started example for 0.14 (#346) 2019-12-14 12:26:20 -06:00
Timon
126f9b2631
Update README.md 2019-12-13 15:46:47 +01:00
Timon
6ebcdf2376
Update README.md 2019-12-13 07:14:09 +01:00
Timon
41ff73e3d3
0.14 (#343) 2019-12-13 07:12:35 +01:00
Timon
71029c4a87
Moved some files around (#342) 2019-12-11 17:10:34 +01:00
Timon
47e8366f2b
Moved examples back into crossterm (#332) 2019-12-10 21:07:15 +01:00
Robert Vojta
8fb9059853 Implemented poll Waker. 2019-12-10 20:41:40 +01:00
Timon
b4241e0107
Refactored Screen Module (#336) 2019-12-04 17:40:11 +01:00
Timon
dec0d74b32
Refactored macro's, moved Output, rewrote documentation. (#326) 2019-12-04 17:26:57 +01:00
Robert Vojta
fb5a8f24cc Improve try_read performance & clarity
Signed-off-by: Robert Vojta <rvojta@me.com>
2019-12-04 08:32:26 +01:00
Robert Vojta
d87116a90c Replace FileDesc::read_byte with read
Signed-off-by: Robert Vojta <rvojta@me.com>
2019-12-04 08:32:26 +01:00
Robert Vojta
df73877852 Move skipped_events to InternalEventReader
Signed-off-by: Robert Vojta <rvojta@me.com>
2019-12-04 08:32:26 +01:00
Timon
7dca7b1fcd
Made command fields public (#338) 2019-12-04 07:22:38 +01:00
Timon
5b2ecf3381
Introduced more cursor commands. (#327) 2019-11-29 17:46:50 +01:00
Timon Post
ffee84f2cf Upgraded tokio dependency because it caused CI error. 2019-11-27 19:06:46 +01:00
Robert Vojta
a8928d1fda Fix xterm mouse parser
Only two bits represents button state, not three.

Signed-off-by: Robert Vojta <rvojta@me.com>
2019-11-22 13:25:50 +01:00