Commit Graph

54 Commits

Author SHA1 Message Date
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
TimonPost
4a943c124e Added alternatescreen functionalilty, and added options to terminate the current process. also added write option to the terminal module 2018-07-01 22:40:07 +02:00
Timon
2a50c02b12 :: 2018-06-26 18:56:34 +00:00
Timon
043bac575f exit current proccess added 2018-06-26 18:21:47 +00:00
TimonPost
d714817539 added blink functionality for cursor. Fixed alternate screen for windows not fully working 2018-06-23 19:48:22 +02:00
TimonPost
62fbb6b6a9 added unix cursor hide show, fixed windows and added alternate screen
functionality. Also refactored and cleaned up code.:
2018-06-22 21:04:30 +02:00
TimonPost
bb2067ed7b Maked windows compilable and worked on the screen manager for windows. 2018-06-18 22:10:41 +02:00
=
2a40d10ae9 refactored code comments fixed examples and invalid comments. Also added documentation 2018-06-16 20:10:51 +02:00
=
48a429a396 added alternate screen for unix working on raw screen featuresbash: wq: command not found 2018-06-13 21:02:09 +02:00
=
3878993459 Removed all unused namespaces 2018-06-09 23:19:02 +02:00
=
17616100df Added alternate screen support for unix systems 2018-06-09 21:59:43 +02:00
TimonPost
df86426c93 Changed module names and some method names to make the calls more cleaner. Fixed get cursor position for unix. Default ansi codes if not supported winapi will be used. 2018-05-20 14:08:14 +02:00
T
4c14ad836b Refactored namespaces. Added comments where needed. Alternatescreen is
working for windows 10 terminals. Refactored usings. Rearanged usings.
Raw Mode / alternate screeen windows yet to be tested. Added examples.
Refactored code
2018-03-10 17:33:06 +01:00
Timon Post
6c4f39a0ce Crossterm works for unix now, refactored all comments and refactored code. Changed names, Making things ready for crossterm release 0.1 2018-01-17 23:06:45 +01:00