Commit Graph

48 Commits

Author SHA1 Message Date
Timon
1e332daaed
Refactor and API stabilization (#115)
- Major refactor and cleanup.
- Improved performance; 
    - No locking when writing to stdout. 
    - UNIX doesn't have any dynamic dispatch anymore. 
    - Windows has improved the way to check if ANSI modes are enabled.
    - Removed lot's of complex API calls: `from_screen`, `from_output`
    - Removed `Arc<TerminalOutput>` from all internal Api's. 
- Removed termios dependency for UNIX systems.
- Upgraded deps.
- Removed about 1000 lines of code
    - `TerminalOutput` 
    - `Screen`
    - unsafe code
    - Some duplicated code introduced by a previous refactor.
- Raw modes UNIX systems improved     
- Added `NoItalic` attribute
2019-04-10 23:46:30 +02:00
Timon Post
6cdce1bc25 Fixed broken tests, and corrected public export 2019-04-04 18:45:47 +02:00
Timon
b8e75da40a
Update crossterm_style to 0.2 (#107) 2019-03-21 16:00:30 +01:00
Timon
ad74f6b524
Introduced: Crossterm Workspace and feature flags. (#84)
* Introduced: crossterm workspace, feature flags.
2019-01-27 21:16:14 +01:00
Florian Dehau
2ca92e4d3d Make error module public (#78) 2019-01-13 20:52:53 +01:00
Timon Post
2cd56af252 5.4 release commit 2019-01-08 07:23:16 -08:00
Timon Post
f70baa5987 fixed wrong version nummber and crucial bug 2019-01-03 11:54:03 -08:00
Timon Post
336ecfe804 Fixed version number in README.MD 2019-01-03 08:49:52 -08:00
Timon Post
e9ed89d855 Release 5.2 2019-01-03 08:39:48 -08:00
Timon Post
33bcad4d23 Release 5.2 2019-01-03 08:39:00 -08:00
Timon
a0464a041d
Docs, cargo, last updates before release (#71)
* Docs, cargo, last updates before release
2019-01-02 07:53:47 -08:00
Isaac Andrade
5515c1433d Add README content to code so rustdoc can build it (#68) 2019-01-02 07:22:44 -08:00
Timon
ff9b5d9a39
Refactored winapi and moved code to (crossterm_winapi) (#67)
* Refactored winapi and moved some code to its own crate (crossterm_winapi).
2018-12-31 10:55:48 -08:00
Timon
ddcda09602
Fixed readline bug (#65)
* Fixed `read_line()` bug Windows
2018-12-28 05:58:09 -08:00
Timon
f369a686ee Refactor and grammer check for all comments. 2018-11-28 16:42:05 +01:00
Timon
f068ae69b1
Cleanup (#45)
* Removed lots of Clippy warnings and `ran cargo fmt`
2018-11-21 17:48:22 +01:00
TimonPost
ff41d4f244 fixed some bugs, checked documentation and incremented version number 2018-08-24 23:44:34 +02:00
TimonPost
f64a405236 Refactor 2018-08-19 23:14:45 +02:00
TimonPost
bb39591150 Overall commend improvement 2018-08-14 23:02:25 +02:00
TimonPost
e1bbf1689f some examples fixed added multy threaded logging example and tested input and changed styling system 2018-08-11 17:58:15 +02:00
Jojolepro
518dcadd15 Moved files around. Added duplex example (broken). Broke alternate screen trying to add compat. 2018-07-31 22:50:51 +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
TimonPost
c7603fe79d removed git merge indicator 2018-07-28 10:17:25 +02:00
TimonPost
86a82a33cd fix merge confilict 2018-07-28 10:09:09 +02:00
TimonPost
26472359bc fixed input and cursor with new implementation 2018-07-27 22:28:30 +02:00
TimonPost
d7387ed227 rebase 2018-07-27 18:44:38 +02:00
TimonPost
403d0668a7 Created terminal type and changed alternate and raw screen 2018-07-27 18:37:31 +02:00
TimonPost
2cc40d5d28 refactored winapi code 2018-07-22 14:55:14 +02:00
TimonPost
fcc4ca31bc base implementation for input 2018-07-19 15:11:36 +02:00
TimonPost
10f3ccb07b . 2018-07-14 23:02:02 +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
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
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
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
Felix Yan
930a47d7e8 Fix a typo in lib.rs 2018-06-17 08:30:20 +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
=
17616100df Added alternate screen support for unix systems 2018-06-09 21:59:43 +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
=
03bca7fe76 Resolve all errors unix. Now it is time to test 2018-03-05 22:06:43 +01:00
T
524955f8c0 } 2018-03-03 15:40:51 +01:00
Timon Post
6be5a41204 Added RGB and curstom ANSI value support, and tested resize terminal, safe and restore cursor position for unix terminals. And added options put attributes on font. 2018-01-27 18:26:08 +01:00
T
39b63822ae Winapi upgrade, windows tested again edited readme 2018-01-18 22:47:09 +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
T
3b4b6fb11a Added terminal size, screen clearing functionality, refactored winkernel and done with mouse position 2018-01-06 21:31:14 +01:00
T
638517981a Initial commit 2018-01-03 14:43:54 +01:00