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
Timon
f909b3db95
0.21 ( #596 )
2021-08-23 19:07:55 +02:00
Canop
ec1ed6879e
Expose is_raw_mode_enabled()
function ( #592 )
2021-08-13 13:13:37 +02:00
Timon
a618a9f3b3
0.20 ( #567 )
2021-06-10 15:55:34 +02:00
Kestrer
e1260446e9
Remove writer parameter from execute_winapi ( #570 )
2021-06-10 15:20:00 +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
df0c2358fd
Inline ansi modules ( #529 )
2021-01-03 14:29:29 +01:00
Koxiaet
6c0f8ebcf6
Fix clippy warnings ( #533 )
2021-01-02 15:24:34 +01:00
Koxiaet
6a1114b241
Support taking any Display in SetTitle ( #528 )
2020-12-30 18:50:44 +01:00
Koxiaet
0797441893
Make imports & docs more consistent ( #524 )
2020-12-28 09:47:20 +01:00
Koxiaet
5be7d18475
Replace AnsiType with write_ansi ( #523 )
2020-12-28 07:56:32 +01:00
Andrea Jemmett
aa8436e41a
Use tty_fd
for set/get terminal attributes ( #501 )
2020-10-24 16:38:03 +02:00
vojta7
34a6e414f6
Added enabling/disabling line wrap. ( #485 )
2020-09-11 10:19:41 +02:00
Michael McDonnell
7732861e4d
Fix clippy warnings ( #477 )
2020-09-06 20:38:17 +02:00
Barret Rennie
dfafcc09ac
Make windows raw_mode act on CONIN$
2020-07-02 13:52:09 +02:00
Matheus Lessa Rodrigues
88add302cd
Implementing SetTitle
command ( #429 )
2020-05-16 07:41:43 +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
John-John Tedro
9690e5bc38
Remove reader thread in AsyncReader ( #309 )
2019-11-08 06:53:10 +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
Timon
0479d68f50
Removed old Cursor Api ( #289 )
2019-10-27 14:33:47 +01:00
Zrzka
2815833a83
Merge sub crates back into crossterm ( #280 )
2019-10-22 16:33:38 +02:00
TimonPost
6970dfadd8
refactored all code and canged name spaces and moved code to other modules.
2018-07-28 19:26:35 +02:00
Timon
8f160713bb
Fixed unix code after refactoring windows cursor, input, rawscreen, alternate screen
2018-07-28 08:37:21 +00:00
TimonPost
1ff70a9653
started working on refactoringterminal
2018-07-28 09:54:05 +02:00
Timon
1a64a21df2
unix fixed not fully tested jet
2018-07-26 16:25:20 +00:00
TimonPost
d38f406dc7
Refactored WinApi code
2018-07-24 18:06:17 +02:00
TimonPost
2cc40d5d28
refactored winapi code
2018-07-22 14:55:14 +02:00
TimonPost
07502c016d
read line, read char, read async and read async until implemented for windows
2018-07-20 18:00:46 +02:00
TimonPost
f4d2ab4feb
fixed examples 0.3.0
2018-07-18 22:32:17 +02:00
TimonPost
787b4aa1b3
Added release notes, docs, readme changed almost done for release 0.2.3
2018-07-12 23:36:30 +02:00
TimonPost
683ec5c9cb
refactor, created examples and tested code
2018-07-11 22:59:54 +02:00
TimonPost
cc47d8788a
Added docs and Result<> to write methods
2018-07-11 19:43:12 +02:00
Timon
f962fe4040
Fixed unix
2018-07-09 17:37:07 +00:00
TimonPost
e62d8cff9d
Alternate screen working for windows, created reallife example with firstdepthsearch and started commenting all types not done yet with that.
2018-07-08 22:13:32 +02:00
TimonPost
26a1960159
Windows alternate screen working. color implementation for alternate screen fixed. And all functionalities for the main screen should also work
2018-07-03 22:48:04 +02:00
TimonPost
223b353101
runned cargo fmt on crate code
2018-07-01 22:43:43 +02:00