Robert Vojta
df73877852
Move skipped_events to InternalEventReader
...
Signed-off-by: Robert Vojta <rvojta@me.com>
2019-12-04 08:32:26 +01:00
Timon
7dca7b1fcd
Made command fields public ( #338 )
2019-12-04 07:22:38 +01:00
Timon
5b2ecf3381
Introduced more cursor commands. ( #327 )
2019-11-29 17:46:50 +01:00
Robert Vojta
a8928d1fda
Fix xterm mouse parser
...
Only two bits represents button state, not three.
Signed-off-by: Robert Vojta <rvojta@me.com>
2019-11-22 13:25:50 +01:00
Timon
9a34b1c1d2
Edited some docs ( #324 )
2019-11-21 19:40:18 +01:00
Robert Vojta
7333de70a7
Remove all feature flags except event-stream ( #322 )
...
Signed-off-by: Robert Vojta <rvojta@me.com>
2019-11-20 14:03:22 +01:00
Zrzka
011a47e93d
Add clippy ( #323 )
...
Signed-off-by: Robert Vojta <rvojta@me.com>
2019-11-19 12:18:24 +01:00
Timon
f597cfd232
Input module Rewrite ( #284 )
2019-11-18 21:50:57 +01:00
Lars Mühmel
bf51821238
Fix the def_str_attr!
macro ( #319 )
2019-11-17 21:31:41 +01:00
Cedric Hutchings
9fdc6318b2
Allow macro trailing comma ( #314 )
2019-11-14 07:17:10 +01:00
John-John Tedro
9690e5bc38
Remove reader thread in AsyncReader ( #309 )
2019-11-08 06:53:10 +01:00
Cedric Hutchings
053a027ee6
Grammer. ( #313 )
2019-11-08 06:50:29 +01:00
Zrzka
827f9c1a72
Add input::stop_reading_thread()
fn ( #308 )
2019-11-04 18:41:27 +01:00
John-John Tedro
0c7212511f
Join background thread and avoid looping forever on windows ( #307 )
2019-11-04 06:50:09 +01:00
Timon
f2a4df20db
Cleanup Some Mess for next Release ( #304 )
2019-11-01 18:09:05 +01:00
Canop
c23a6ddf38
Add a tput based computation of terminal size ( #283 )
2019-11-01 17:13:56 +01:00
Timon
3e82d6ae1c
Removed old api Style Module ( #299 )
2019-10-31 21:02:04 +01:00
Timon
5c36790187
Fixed screen feature flag and updated CI script ( #302 )
2019-10-31 20:54:14 +01:00
Canop
4ccc240866
Rename PrintStyledFont
to PrintStyledContent
( #297 )
2019-10-30 07:37:57 +01:00
Canop
fe6ddb90f1
Introduce the EnableMouseCapture and DisableMouseCapture commands ( #296 )
2019-10-29 19:47:22 +01:00
Timon
3ab5b170aa
Terminal remove Deprecated Api ( #293 )
2019-10-29 09:14:47 +01:00
ebroto
ea7130a419
Refactor the Style Module ( #291 )
2019-10-27 21:07:09 +01:00
Timon
0479d68f50
Removed old Cursor Api ( #289 )
2019-10-27 14:33:47 +01:00
Canop
1587d10dc8
Add missing lifetimes ( #282 )
2019-10-23 15:02:20 +02:00
Canop
dc78b67008
Make KeyEvent
implement Copy
( #281 )
2019-10-23 13:22:01 +02:00
Zrzka
2815833a83
Merge sub crates back into crossterm ( #280 )
2019-10-22 16:33:38 +02:00
Zrzka
1f9ead9d51
Add missing re-exports ( #275 )
2019-10-17 22:38:01 +02:00
Timon
edd9189234
Exported ResetColor
command ( #274 )
2019-10-15 20:45:47 +02:00
Robert Vojta
e335a65a40
Update API docs
...
Signed-off-by: Robert Vojta <rvojta@me.com>
2019-10-02 09:37:49 +02:00
Timon
e600eabaed
0.11.0
2019-09-24 19:45:59 +02:00
Zrzka
5494525d89
2018 edition ( #222 )
2019-09-16 13:34:08 +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
Andrey Kutejko
7260da18e1
General Improvements ( #177 )
2019-07-16 19:07:55 +02:00
Caleb Bassi
e1b8da03ba
Documentation fixes ( #156 )
2019-06-21 18:10:46 +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
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
6cdce1bc25
Fixed broken tests, and corrected public export
2019-04-04 18:45:47 +02:00
Timon
b8e75da40a
Update crossterm_style to 0.2 ( #107 )
2019-03-21 16:00:30 +01:00
Timon
ad74f6b524
Introduced: Crossterm Workspace and feature flags. ( #84 )
...
* Introduced: crossterm workspace, feature flags.
2019-01-27 21:16:14 +01:00
Florian Dehau
2ca92e4d3d
Make error module public ( #78 )
2019-01-13 20:52:53 +01:00
Timon Post
2cd56af252
5.4 release commit
2019-01-08 07:23:16 -08:00
Timon
674922f817
Panic after upgrading to 0.5.3 fix ( #73 )
2019-01-08 13:15:57 +01:00
Timon Post
f70baa5987
fixed wrong version nummber and crucial bug
2019-01-03 11:54:03 -08:00
Timon Post
336ecfe804
Fixed version number in README.MD
2019-01-03 08:49:52 -08:00
Timon Post
e9ed89d855
Release 5.2
2019-01-03 08:39:48 -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
Isaac Andrade
5515c1433d
Add README content to code so rustdoc can build it ( #68 )
2019-01-02 07:22:44 -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