Commit Graph

154 Commits

Author SHA1 Message Date
octotep
6980fce8ec
Disable the mouse capture in the demo to allow scrolling to work (#514) 2020-11-22 13:52:48 +01:00
Blaž Hrastnik
c01693ff78
Rely on futures-core instead of futures-util to speed up compile. (#480) 2020-09-08 08:42:41 +02:00
Sebastian Thiel
d80afb51be
Switch from 'futures' to 'futures-util' crate to reduce dependency count (#454) 2020-07-06 19:10:43 +02:00
Timon
58ef32b40a
Is terminal a tty and reverted feature from 0.17 which introduced a bug. (#405) 2020-03-28 18:38:07 +01:00
Riey
9c9479deb2
Direct write command ansi_codes (#390) 2020-03-10 13:38:38 +01:00
Canop
f58aca9354
Changed vec of Attributes to bitfield (#380) 2020-02-07 14:06:41 +01:00
Timon
b3cf303295
Addes documentation to examples (#348) 2019-12-16 10:13:35 -06:00
Timon
41ff73e3d3
0.14 (#343) 2019-12-13 07:12:35 +01:00
Timon
71029c4a87
Moved some files around (#342) 2019-12-11 17:10:34 +01:00
Timon
47e8366f2b
Moved examples back into crossterm (#332) 2019-12-10 21:07:15 +01:00
Robert Vojta
8fb9059853 Implemented poll Waker. 2019-12-10 20:41:40 +01:00
Timon
b4241e0107
Refactored Screen Module (#336) 2019-12-04 17:40:11 +01:00
Timon
dec0d74b32
Refactored macro's, moved Output, rewrote documentation. (#326) 2019-12-04 17:26:57 +01:00
Timon
f597cfd232
Input module Rewrite (#284) 2019-11-18 21:50:57 +01:00
Zrzka
675c8f5e10 Sub-crates separatation (#251) 2019-09-25 16:09:16 +02:00
Timon
e600eabaed
0.11.0 2019-09-24 19:45:59 +02:00
Zrzka
5216ecbdec API Cleanup - part 3 (#240) 2019-09-20 23:50:53 +02:00
Zrzka
4952cb33d9 API Cleanup - part 2 (#238) 2019-09-19 17:39:14 +02:00
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
05d28b4c5a io::Result to crossterm::Result (#232) 2019-09-18 19:31:12 +02:00
Anders Kaseorg
e5ed617a7b Command API improvements: don’t ignore errors, don’t require reassigning stdout back to itself (#226) 2019-09-18 15:29:02 +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
Zrzka
1de4555ec7 Fix command_bar example warnings (#204) 2019-09-12 12:33:37 +02:00
Zrzka
b1daeccab0 Examples cleanup (#196) 2019-09-05 16:14:33 +02:00
Zrzka
68346699e1 Warnings cleanup (#198) 2019-09-05 16:13:23 +02:00
Timon
723626fa17
Some fixes (#183) 2019-07-25 19:57:14 +02:00
Timon
762c3a9b8e
Input cleanup (#182)
- Removed input parsing WinAPI
2019-07-25 15:57:05 +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
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
0bfebb338d
Raw Screen Cursor Position UNIX Bug Fix (#134) 2019-05-03 20:15:07 +02:00
scauligi
b8be1910b6 Fixes white/grey and added dark grey (#131)
* fixed white/grey and added dark grey

* add dark grey to style example
2019-04-29 07:34:27 +02:00
Timon
a4ff052119
cargo fmt (#132) 2019-04-28 22:20:43 +02:00
Lazarus Holl
f468cf6a9a Examples Clean-Up (#119) 2019-04-13 14:44:31 +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
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
Wesley Moore
70d6fa9b2a Get the style example compiling again (#106) 2019-03-17 09:31:39 +01:00
Timon
c37a480f78
Improved Styling (#92) 2019-02-22 15:20:24 +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
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
Jezza
14bd60af78 Implement support attributes support for the windows terminal. (#62) 2018-12-30 15:13:45 -08:00