Commit Graph

14 Commits

Author SHA1 Message Date
Zrzka
24b9d6f455 ITerminalCursor::pos() - sync platforms behaviour (#227) 2019-09-17 17:55:30 +02:00
Zrzka
77b61d1f6f Wildcard import cleanup (#224) 2019-09-16 18:15:56 +02:00
Zrzka
5494525d89 2018 edition (#222) 2019-09-16 13:34:08 +02:00
Zrzka
7cda56bc9a Execute all tests on CI + warnings/errors cleanup (#216) 2019-09-15 20:42:12 +02:00
Zrzka
be05974b70 Return written bytes (#212)
* `write_cout!` returns number of written bytes
* `Terminal::write` returns number of written bytes (result of `write_cout!`)
* `execute!` macro is a bit simpler
* Remove unused `std::io::Write` imports
2019-09-14 16:42:42 +02:00
Timon_Post
0de76f2162 semantic version correction 2019-07-26 14:27:18 +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
sigmaSd
216105aa06 Get Cursor UNIX improvement (#152) 2019-06-15 10:44:52 +02:00
Timon
0bfebb338d
Raw Screen Cursor Position UNIX Bug Fix (#134) 2019-05-03 20:15:07 +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
Timon
ad74f6b524
Introduced: Crossterm Workspace and feature flags. (#84)
* Introduced: crossterm workspace, feature flags.
2019-01-27 21:16:14 +01:00