Commit Graph

45 Commits

Author SHA1 Message Date
Zrzka
1b307c2010 Update Contribution guide (#228) 2019-09-17 20:40:50 +02:00
Timon
38a22537d9
Examples cleanup (#225) 2019-09-17 10:50:39 +02:00
Zrzka
5494525d89 2018 edition (#222) 2019-09-16 13:34:08 +02:00
runbmp
ec44719d2c Fix example by adding RawScreen to use declaration (#193) 2019-08-16 18:52:42 +02:00
Timon
723626fa17
Some fixes (#183) 2019-07-25 19:57:14 +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_Post
cdb393ef71 0.9.6 2019-06-15 21:51:53 +02:00
Songtronix
b95bf9901f Fix misspelling (#151) 2019-06-12 18:25:09 +02:00
Timon_Post
4fca41d6c5 0.9.5 2019-05-20 18:56:23 +02:00
Timon_Post
f156fdfd1e winapi -> 0.1.3 2019-05-17 19:45:30 +02:00
Timon_Post
472614be37 docs 2019-05-15 17:01:22 +02:00
Timon_Post
ee406d47fa fmt 2019-05-04 13:03:18 +02:00
Timon_Post
51c0ab6012 Added resetting color support 2019-05-04 12:29:30 +02:00
Timon
e967c0410a
Removed println (#127)
* Removed println
2019-04-19 10:02:25 +02:00
Timon
b8d4255bac
Fixed some Bugs. (#118)
- Terminal size Linux was not 0-based.
- Windows mouse input event position was 0-based and should be 1-based
- Result, ErrorKind are made re-exported
- Fixed some special key combination detections for UNIX systems
- Made FreeBSD compile.
2019-04-17 16:24:58 +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
Dave Ho
780c1d1d6e Adds support for mouse and keyboard events.
Added support and expansion for:
- Keyboard Input
- Mouse Input
2019-04-02 21:38:34 +02:00
Timon
b8e75da40a
Update crossterm_style to 0.2 (#107) 2019-03-21 16:00:30 +01:00
Timon
c37a480f78
Improved Styling (#92) 2019-02-22 15:20:24 +01:00
Timon Post
f7d631e3cd doc updates 2019-01-27 21:45:32 +01: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
6a4f1df249 5.4 release 2019-01-08 07:22:04 -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
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
8fad148ce7 Release notes update 2018-11-28 16:45:23 +01:00
Timon
ee782cc7a6
RGB and ANSI color for windows 10 suppport. (#51) 2018-11-25 05:46:08 -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
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
af20e3d605
Update ReleaseNotes.md 2018-09-22 23:03:11 +02:00
TimonPost
4d60ac91b3 updated docs 2018-08-29 22:28:59 +02:00
TimonPost
410009dc46 updated doc 2018-08-25 12:00:39 +02:00
TimonPost
ef09cdfdd6 Merge branch 'development' of https://github.com/TimonPost/crossterm into development 2018-08-14 21:40:13 +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
Timon
e26fc81e86
Update UpgradeManual.md 2018-08-13 22:32:05 +02:00
Timon
02fb04aac4
Rename ReleaseNotesVersion 0.3.0.md to ReleaseNotes.md 2018-08-13 22:31:23 +02:00
TimonPost
df068b823e bound multible release nodes into one and updated the UpgradeManual 2018-08-13 22:30:28 +02:00
TimonPost
8a3b8b8ce7 removed target, updated version number to 0.3.0 2018-07-15 23:08:10 +02:00
Timon
6527123f6a
Update ReleaseNotesVersion 0.2.3.md 2018-07-14 23:24:11 +02:00
Timon
aa7135ed77
Add files via upload
added readme from previous versions
2018-07-14 21:15:45 +01:00
Timon
33470bbb43
Update ReleaseNotesVersion 0.2.3.md 2018-07-14 17:07:15 +01:00
Timon
81835c8437
Update ReleaseNotesVersion 0.2.3.md 2018-07-14 12:29:39 +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