Commit Graph

144 Commits

Author SHA1 Message Date
Dave
00f7d06151
[testing] serial testing perserving terminal (#791)
This change does two things:
- add the serial_test crate to run selected tests serial rather
  than in parallel. This is done because they use global state
  so running them in parallel leads to race conditions and flaky
  results (sometimes they pass, sometimes they fail). Running
  them serialy avoids this flakiness.
- create a screen buffer within the test. This avoids changing
  the terminal (screen buffer) which is running the test. for
  example, a test that changes the terminal size to 20 x 20 can
  leave the developer running the test with a resized terminal.
  Creating a separate screen buffer for the test avoids this.
2023-08-05 15:36:42 +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
Timon
769b18151c Add comments to feature flags 2023-04-08 15:34:23 +02:00
Timon
b2cbd94853
Upgrade to bitflags 2 (#777) 2023-04-08 15:30:43 +02:00
Timon
03c25178af
Make the events module an optional feature (#776) 2023-04-07 17:09:15 +02:00
Jimmy Hartzell
b354b4cc34
Make direct winapi deps optional (#767) 2023-04-01 13:07:46 +02:00
Timon
1af259f9ce Release 0.26.1 2023-02-26 16:52:54 +01:00
Timon
338c122e99
0.26.0 (#750) 2023-01-28 11:12:26 +01:00
Jonathan
05229b71f9
Replace mio polling with filedescriptor's poll() (#735) 2023-01-11 20:15:32 +01:00
Timon
5d02ed8c37
0.25 (#702) 2022-08-10 22:01:18 +02:00
Charlie Groves
1fee5ff30c
Add bracketed paste parsing (#693) 2022-08-10 09:16:56 +02:00
Timon
0c20590774
0.24 (#686) 2022-07-02 21:39:25 +02:00
Timon
9e6bf0fced
0.23.2 (#648)
* 0.23.1

* 0.23.2
2022-04-03 16:08:03 +02:00
Ivan Tham
c90f3190df
Update to signal-hook-mio 0.8 (#645) 2022-04-02 18:58: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
kWeiZh
c983000b51
Implement custom deserialisation for ansi value and rgb (#576) 2021-07-01 18:27:23 +02:00
Timon
a618a9f3b3
0.20 (#567) 2021-06-10 15:55:34 +02:00
Erick Tryzelaar
576990cb82
Update to signal-hook 0.3.8, signal-hook-mio 0.2.1 (#558) 2021-05-05 15:59:09 +02:00
SirWindfield
174de58b69
Update signal-hook to 0.1.17 (#555)
Closes #544
2021-03-29 09:08:04 +02:00
Timon Post
5a50d25c83 Merge branch 'master' of github.com:crossterm-rs/crossterm 2021-01-03 21:36:22 +01:00
Koxiaet
1418580fed
Remove lazy_static dependency (#530) 2021-01-03 14:40:22 +01:00
Timon Post
be4deba596 0.19 version update 2020-12-28 11:05:11 +01:00
Timon
e7ea585e7c
0.19 (#527) 2020-12-28 11:02:16 +01:00
Timon
e46decc2f3
Fix wrong resize size return (#526) 2020-12-28 10:15:50 +01:00
OhhhZenix
467a884bae
An to A (grammar fix)! (#509) 2020-11-10 12:09:32 +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 Post
6d5d1a0ed8 0.18 2020-09-24 08:37:43 +02:00
Josh Stone
c6ffb3b8f9
Upgrade to parking_lot 0.11 (#486) 2020-09-13 14:15:02 +02:00
Timon
10421f8976
0.17.8 2020-09-08 09:02:49 +02:00
Blaž Hrastnik
c01693ff78
Rely on futures-core instead of futures-util to speed up compile. (#480) 2020-09-08 08:42:41 +02:00
truchi
0b429e5dcf
Incoherent derived traits (#471) 2020-08-03 08:06:09 +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
Sebastian Thiel
d80afb51be
Switch from 'futures' to 'futures-util' crate to reduce dependency count (#454) 2020-07-06 19:10:43 +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 Post
095731a174 0.17.1 2020-03-28 21:08:14 +01:00
Timon
9c9543d454
0.17 (#403) 2020-03-24 22:00:23 +01:00
Timon
e35d4d2c1c 0.15.1 (#381) 2020-02-08 14:23:50 +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
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