Commit Graph

48 Commits

Author SHA1 Message Date
Timon Post
f70baa5987 fixed wrong version nummber and crucial bug 2019-01-03 11:54:03 -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
Timon
ad3efbd34d
Error handling (#69)
* Implemented an error module for crossterm and fixed a lot of warnings.
2019-01-01 13:27:50 -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
572e842253
Cleanup windows (#52)
* Removed unused imports and ran 'cargo fix'
2018-11-25 06:16:02 -08:00
Timon
4d2fba2c0d
Doc updates and MdBook (#50)
* Updated readme and docs, and created an MdBook
2018-11-25 14:17:11 +01:00
timonpost@hotmail.nl
49f104d787 Added travis 2018-11-22 16:06:16 +01:00
Timon
f068ae69b1
Cleanup (#45)
* Removed lots of Clippy warnings and `ran cargo fmt`
2018-11-21 17:48:22 +01:00
Timon Post
b717d306c3 Putted Screen behind an Option. Now when you call the functions: color, cursor, terminal, input you won't need to provide a Screen anymore.
When you want to work with the 'alternate screen' you can call the following functions: terminal::from_screen etc. Which will give you an instance to the back of the module you are calling it in.

So instead of:

let color = color(Screen::default());
let cursor = cursor(Screen::default());
let input = input(Screen::default());
let terminal = terminal(Screen::default());

You can do:

let color = color();
let cursor = cursor();
let input = input();
let terminal = terminal();
2018-11-21 07:54:16 -08:00
Timon
ad8b75f448
Fixed bug flush_buf(). (#42)
* Fixed bug flush_buf() issue 42.
2018-11-14 15:13:58 +01:00
timon
cb08b6b984 clean up 2018-10-07 17:16:35 +02:00
=
5dcc6387f1 added unittests, fixed getting terminal position and tested code 2018-09-22 22:42:23 +02:00
TimonPost
410009dc46 updated doc 2018-08-25 12:00:39 +02:00
TimonPost
c40cdb0774 rounding up 2018-08-25 11:24:51 +02:00
TimonPost
ff41d4f244 fixed some bugs, checked documentation and incremented version number 2018-08-24 23:44:34 +02:00
TimonPost
9102108b3a changes 2018-08-24 18:49:25 +02:00
=
a0cf8907a5 changed mut third try .... 2018-08-24 18:37:34 +02:00
TimonPost
a98a13b7de changes 2018-08-24 18:29:55 +02:00
TimonPost
c9c0a4efac merge 2018-08-23 23:01:33 +02:00
TimonPost
ce15004975 added drop disable 2018-08-23 22:59:51 +02:00
=
b70996dcf4 fix 2018-08-23 22:20:11 +02:00
=
f1959589c8 some fixes 2018-08-23 22:16:31 +02:00
=
99fffee6b3 fixed raw mode 2018-08-23 18:15:18 +02:00
TimonPost
cc55c190d8 Removed downcast for HANDLE WinAPi. Also we do not need to keep track of current HANDLE since this will now be gotton from CreateFileW 2018-08-22 19:58:30 +02:00
TimonPost
c848beb721 Added Sync markers 2018-08-21 21:17:53 +02:00
=
5b0a6dddaa bug fixe 2018-08-21 18:22:22 +02:00
TimonPost
a8de072a0a windows changes 2018-08-21 18:05:53 +02:00
TimonPost
a367169bb7 Shitload unused iports and unused mut removed alos renamed some variables 2018-08-19 23:42:48 +02:00
TimonPost
f64a405236 Refactor 2018-08-19 23:14:45 +02:00
=
a6149f75f3 fixed unix code 2018-08-18 15:06:14 +02:00
TimonPost
b884891970 comment 2018-08-18 14:40:55 +02:00
TimonPost
18103fced3 changes 2018-08-18 12:54:06 +02:00
TimonPost
bb39591150 Overall commend improvement 2018-08-14 23:02:25 +02:00
TimonPost
f7c6f36a46 Changed Crossterm type so that the user does not have to enter a reference to a Screen every function call and also updated the readme, docs,comments,examples 2018-08-14 21:40:07 +02:00
=
d23ef22a58 Updated all examples and comments tested unix logic 2018-08-13 21:04:07 +02:00
Timon
f31bb1a656 Unix errors fixed and started with testing 2018-08-12 20:41:08 +00:00
TimonPost
23dc4f661e Tested all windows logic also fixed bug with resetting terminal color. 2018-08-12 14:51:08 +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
TimonPost
406f2046f9 maked crossterm sendable for threads 2018-07-31 23:05:45 +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
bf0f330b8f added paint to crossterm type. And changed some methods names 2018-07-29 23:14:28 +02:00
Timon
fc61ef778f Fixed unix code 2018-07-29 21:02:02 +00:00
TimonPost
3a02d9b7c0 Windows done with RC refactor unix yet to be tested 2018-07-29 21:46:15 +02:00
TimonPost
b3081fd9c0 added examples and changed comments 2018-07-29 21:30:09 +02:00
Timon
54bab51976 unix errors fixed 2018-07-28 17:46:05 +00:00
TimonPost
6970dfadd8 refactored all code and canged name spaces and moved code to other modules. 2018-07-28 19:26:35 +02:00