Commit Graph

17 Commits

Author SHA1 Message Date
Timon
f369a686ee Refactor and grammer check for all comments. 2018-11-28 16:42:05 +01:00
Timon
ee782cc7a6
RGB and ANSI color for windows 10 suppport. (#51) 2018-11-25 05:46:08 -08: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
TimonPost
a2bb9ecff5 added tests 2018-09-21 22:22:25 +02:00
TimonPost
a9f47ecebc added tests and method to convert styledobject into displayableobject 2018-09-21 21:36:25 +02:00
TimonPost
a92274c028 added displaying functionality of StyledObject 2018-09-20 22:24:10 +02: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
=
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
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
b3081fd9c0 added examples and changed comments 2018-07-29 21:30:09 +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