Commit Graph

27 Commits

Author SHA1 Message Date
Timon
03c25178af
Make the events module an optional feature (#776) 2023-04-07 17:09:15 +02:00
Michael Davis
383d9a7827
Remove early return in keyboard enhancement check (#751) 2023-02-01 20:13:12 +01:00
Jonathan
814df1c4a0
Fix CI failures (#746) 2023-01-12 21:04:29 +01:00
Michael Davis
3fe13e18d8
Add a function for checking keyboard enhancement support (#732)
* Add a function for checking keyboard enhancement support

This follows the Kitty documentation's recommended way to check for
progressive keyboard enhancement: query the flags and then query the
primary device attributes (which is broadly supported). If we receive
only the device attributes, the protocol is not supported.

* Check keyboard enhancement in the event-read example
2023-01-10 19:23:34 +01:00
Timon
0c20590774
0.24 (#686) 2022-07-02 21:39:25 +02:00
Siphalor
f523c110a6
Fix zero terminal sizes being treated as ok in Unix (#680) 2022-06-30 21:34:10 +02:00
Canop
ec1ed6879e
Expose is_raw_mode_enabled() function (#592) 2021-08-13 13:13:37 +02:00
Plecra
58f580eaad
crossterm::ErrorKind to io::Error (#553) 2021-04-13 08:46:51 +02:00
Koxiaet
1418580fed
Remove lazy_static dependency (#530) 2021-01-03 14:40:22 +01:00
Koxiaet
6c0f8ebcf6
Fix clippy warnings (#533) 2021-01-02 15:24:34 +01:00
Koxiaet
0797441893
Make imports & docs more consistent (#524) 2020-12-28 09:47:20 +01:00
Andrea Jemmett
aa8436e41a
Use tty_fd for set/get terminal attributes (#501) 2020-10-24 16:38:03 +02:00
Michael McDonnell
7732861e4d
Fix clippy warnings (#477) 2020-09-06 20:38:17 +02:00
m-lima
1dd20f3ada
Issue 406: Keep FileDesc alive long enough for ioctl to work (#413) 2020-04-09 19:34:45 +02:00
Atanas Yankov
52b9d479c1
Termsize fallback (#398)
* Fallback if /dev/tty is missing
2020-03-11 10:12:15 +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
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
Stefan G
17442caee2 Fix TIOCGWINSZ for FreeBSD (#361) 2020-01-11 17:31:12 +01:00
Timon
71029c4a87
Moved some files around (#342) 2019-12-11 17:10:34 +01:00
Timon
b4241e0107
Refactored Screen Module (#336) 2019-12-04 17:40:11 +01:00
Zrzka
011a47e93d
Add clippy (#323)
Signed-off-by: Robert Vojta <rvojta@me.com>
2019-11-19 12:18:24 +01:00
Timon
f597cfd232
Input module Rewrite (#284) 2019-11-18 21:50:57 +01:00
Canop
c23a6ddf38 Add a tput based computation of terminal size (#283) 2019-11-01 17:13:56 +01:00
Timon
3ab5b170aa
Terminal remove Deprecated Api (#293) 2019-10-29 09:14:47 +01:00
Zrzka
2815833a83 Merge sub crates back into crossterm (#280) 2019-10-22 16:33:38 +02:00