Commit Graph

10 Commits

Author SHA1 Message Date
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 Post
2773c354d3 Update 2019-04-11 17:37:06 +02:00
Timon Post
5e84a6a578 toml update 2019-04-11 00:08:09 +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
TimonPost
824f2305d9 Bug fix reading sync, updated licenses. 2019-04-05 15:44:39 +02:00
Timon Post
805ec959c1 Updated README 2019-04-02 23:17:13 +02:00
Timon Post
6f1aa220c6 Reverted some version number 2019-04-02 22:23:38 +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
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