Zrzka
41de9a63a1
API Cleanup - part 1 ( #235 )
2019-09-19 13:12:16 +02:00
Zrzka
91d07275ad
Improved snake example ( #231 )
2019-09-18 19:31:49 +02:00
Zrzka
5494525d89
2018 edition ( #222 )
2019-09-16 13:34:08 +02:00
Zrzka
b1daeccab0
Examples cleanup ( #196 )
2019-09-05 16:14:33 +02:00
Timon
1a60924abd
Command API experiment ( #175 )
...
- Command API to introduce easier usability, better performance, and more control over to which buffer to write, and when to flush the buffer to the terminal.
2019-07-24 20:10:27 +02:00
Caleb Bassi
e1b8da03ba
Documentation fixes ( #156 )
2019-06-21 18:10:46 +02:00
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
5f79acf9e9
Removed items from workspace
2019-04-04 18:46:43 +02:00
Timon Post
6cdce1bc25
Fixed broken tests, and corrected public export
2019-04-04 18:45:47 +02:00
Timon
ad74f6b524
Introduced: Crossterm Workspace and feature flags. ( #84 )
...
* Introduced: crossterm workspace, feature flags.
2019-01-27 21:16:14 +01:00
Timon Post
f70baa5987
fixed wrong version nummber and crucial bug
2019-01-03 11:54:03 -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
572e842253
Cleanup windows ( #52 )
...
* Removed unused imports and ran 'cargo fix'
2018-11-25 06:16:02 -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
timon
61188e6353
removed in examples for unused variables
2018-10-07 17:16:35 +02:00
timon
cb08b6b984
clean up
2018-10-07 17:16:35 +02:00
=
61778a23a6
added unittests, fixed getting terminal position and tested code
2018-09-22 22:42:11 +02:00
TimonPost
410009dc46
updated doc
2018-08-25 12:00:39 +02:00
TimonPost
5777eaab1d
chagnes
2018-08-25 11:04:42 +02:00
=
29ae520ea8
Tested unix improved some exampels
2018-08-24 23:51:39 +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
TimonPost
308cc743d1
fix
2018-08-24 18:48:25 +02:00
=
9da3cb82d2
mut change
2018-08-24 18:35:13 +02:00
=
91b7cb775b
mut chagne
2018-08-24 18:32:48 +02:00
=
f1959589c8
some fixes
2018-08-23 22:16:31 +02:00
=
7f05f6e8a7
some fixes
2018-08-23 22:15:58 +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
=
b98f549a73
changed enter check
2018-08-21 18:28:31 +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
685bc5e961
Refactor
2018-08-19 23:13:21 +02:00
TimonPost
25bf065c09
Snake game example
2018-08-17 21:06:06 +02:00
TimonPost
4005634086
Overall commend improvement
2018-08-14 23:00:20 +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
74ef83bb3f
Quick fix logging example
2018-08-11 18:08:26 +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
f6b1955cae
worked on some examples
2018-08-03 12:01:04 +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