Commit Graph

69 Commits

Author SHA1 Message Date
Timon
4712ff5619
Fix mio and signalhook broken build (#907)
* Upgrade to mio 1.0
2024-08-01 20:30:12 +02:00
Timon
5d50d8da62
Minor upgrade to crossterm 0.28 (#898) 2024-07-31 19:41:00 +02:00
Josh McKinney
fe440284bf
Use rustix instead of libc (additive only approach) (#892)
* use rustix instead of libc

* make rustix the default feature

* bump msrv to 1.63.0

* fix remaining libc issues

- use rustix version of sigwinch signal
- add a lifetime to FileDesc and replace FileDesc::Static to
  FileDesc::Borrowed. This made it necessary to either add a lifetime to
  the libc version of FileDesc or replace all the callers with multiple
  paths (libc, rustix). Changing FileDesc was more straightforward.
  There are no usages of FileDesc found in any repo on github, so this
  change should be reasonably safe.

* add changelog entry for rustix / filedesc change
2024-06-16 14:56:13 +02:00
Przemek Pawlas
94fdd586e6
(De)serialize Reset color (#824) 2024-01-06 13:02:38 +01:00
Dheepak Krishnamurthy
b565646f27
Fix typo in CHANGELOG.md (#816) 2024-01-06 12:54:15 +01:00
Timon
08762b3ef4 Update CHANGELOG.md 2023-08-06 14:21:48 +02:00
Timon
e4ffda6439 Update CHANGELOG.md 2023-08-05 15:57:36 +02:00
Wilfred Hughes
db443b08e8
Specify and document MSRV for 0.26 (#798)
As of 318f810a39, crossterm uses RFC
2795 implicit named arguments, which shipped in Rust 1.58.

Co-authored-by: Timon <timonpost@hotmail.nl>
2023-08-05 15:34:37 +02:00
Peter Hebden
e2ddc1787a
Move key release event to breaking change (#805) 2023-08-05 15:22:00 +02:00
Timon
1af259f9ce Release 0.26.1 2023-02-26 16:52:54 +01:00
Orhun Parmaksız
4e880a5c90
Fix typos in CHANGELOG.md (#757) 2023-02-12 14:57:27 +01:00
Timon
338c122e99
0.26.0 (#750) 2023-01-28 11:12:26 +01:00
Timon
614e6a73b7
Add SetCursorStyle command (#742) 2023-01-11 21:04:02 +01:00
Timon
5d02ed8c37
0.25 (#702) 2022-08-10 22:01:18 +02:00
Timon
0c20590774
0.24 (#686) 2022-07-02 21:39:25 +02:00
Kian-Meng Ang
21155716e2
Fix typos (#675) 2022-06-06 18:10:06 +02:00
Timon
9e6bf0fced
0.23.2 (#648)
* 0.23.1

* 0.23.2
2022-04-03 16:08:03 +02:00
Timon
9a50fd2ce2
0.23 (#627) 2022-02-06 14:21:19 +01:00
Timon
db956267f8
0.22.1 (#614)
# Version 0.22.1
- Update yanked version crossterm-winapi and move to  crossterm-winapi 0.9.0.
- Changed panic to error when calling disable-mouse capture without setting it first.
- Update bitflags dependency.

# Version 0.22
- Fix serde Color serialisation/deserialization inconsistency.
- Update crossterm-winapi 0.8.1 to fix panic for certain mouse events
2021-10-19 10:19:16 +02:00
Timon
f909b3db95
0.21 (#596) 2021-08-23 19:07:55 +02:00
Timon
a618a9f3b3
0.20 (#567) 2021-06-10 15:55:34 +02:00
Timon
e7ea585e7c
0.19 (#527) 2020-12-28 11:02:16 +01:00
Timon Post
f85105c284 0.18.2 2020-10-29 17:46:44 +01:00
Timon Post
4d93f5e539 0.18.1 2020-10-24 10:31:47 +02:00
Timon
ee13bf6447
0.18 (#487) 2020-09-18 14:55:01 +02:00
Timon
10421f8976
0.17.8 2020-09-08 09:02:49 +02:00
Timon
6326795700
Get position bug fixed (#465) 2020-07-13 21:32:56 +02:00
Timon
5e1c214f8c
0.17.6 2020-07-06 19:57:35 +02:00
Timon
c5fc1a1493
Mio 0.7.0 update (#435) 2020-07-02 15:06:38 +02:00
Timon
c1e84f7185
0.17.5 (#438) 2020-05-23 13:29:56 +02:00
Timon
42509e2fd8
0.17.4 (#433) 2020-05-18 18:51:51 +02:00
Timon Post
b7c73aec22 0.17.3 2020-04-09 20:12:10 +02:00
Timon Post
e61320ef32 0.17.2 2020-04-08 07:43:40 +02: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
Atanas Yankov
52b9d479c1
Termsize fallback (#398)
* Fallback if /dev/tty is missing
2020-03-11 10:12:15 +01:00
Peter Hindes
49fefd6e8f
Added Support For Chars Colors (#386) 2020-02-27 06:50:29 +01:00
Timon
e35d4d2c1c 0.15.1 (#381) 2020-02-08 14:23:50 +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
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 Post
f8f76dc2e1 0.14.2 2020-01-11 18:10:06 +01:00
Timon
43c977dc4f
Relative windows cursor position (#350) 2019-12-17 13:28:43 -06:00
Timon
41ff73e3d3
0.14 (#343) 2019-12-13 07:12:35 +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
Timon
5b2ecf3381
Introduced more cursor commands. (#327) 2019-11-29 17:46:50 +01:00
Timon
f597cfd232
Input module Rewrite (#284) 2019-11-18 21:50:57 +01:00
Cedric Hutchings
9fdc6318b2 Allow macro trailing comma (#314) 2019-11-14 07:17:10 +01:00