From 03bca7fe7601ed3417a65938604554eea456d682 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 5 Mar 2018 22:06:43 +0100 Subject: [PATCH] Resolve all errors unix. Now it is time to test --- .idea/workspace.xml | 966 +++++++++---------- Cargo.toml | 10 +- examples/bin.rs | 53 +- examples/color/mod.rs | 2 +- src/Terminal.rs | 6 - src/crossterm_cursor/ansi_cursor.rs | 7 +- src/crossterm_cursor/base_cursor.rs | 27 - src/crossterm_cursor/cursor.rs | 28 +- src/crossterm_cursor/mod.rs | 38 +- src/crossterm_cursor/winapi_cursor.rs | 3 +- src/crossterm_state/commands/unix_command.rs | 74 +- src/crossterm_style/color/ansi_color.rs | 7 +- src/crossterm_style/color/base_color.rs | 23 - src/crossterm_style/color/color.rs | 34 +- src/crossterm_style/color/mod.rs | 31 +- src/crossterm_style/color/winapi_color.rs | 5 +- src/crossterm_style/styles/objectstyle.rs | 2 +- src/crossterm_style/styles/styledobject.rs | 3 +- src/crossterm_terminal/ansi_terminal.rs | 11 +- src/crossterm_terminal/base_terminal.rs | 21 - src/crossterm_terminal/mod.rs | 34 +- src/crossterm_terminal/raw_terminal.rs | 8 +- src/crossterm_terminal/screen/mod.rs | 15 +- src/crossterm_terminal/terminal.rs | 25 +- src/kernel/unix_kernel/terminal.rs | 43 +- src/kernel/windows_kernel/ansi_support.rs | 7 +- src/kernel/windows_kernel/cursor.rs | 7 +- src/kernel/windows_kernel/kernel.rs | 19 +- src/kernel/windows_kernel/mod.rs | 9 +- src/lib.rs | 11 + src/shared/functions.rs | 4 +- 31 files changed, 742 insertions(+), 791 deletions(-) delete mode 100644 src/Terminal.rs delete mode 100644 src/crossterm_cursor/base_cursor.rs delete mode 100644 src/crossterm_style/color/base_color.rs delete mode 100644 src/crossterm_terminal/base_terminal.rs diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2fec012..cd75735 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,47 +2,37 @@ - - - - - - - - - - - + + - + + + + + - + + + - - - - - + + - - - - - - + + - - + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -76,88 +106,53 @@ - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - + + - - + + + + + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - @@ -169,14 +164,6 @@ - INVALID_HANDLE_VALUE - PCHARINFO - NULL - ToMainscre - main_screen_handle - colored_terminal - clear_entire - mainscreen_handle outout handle <'a> @@ -199,6 +186,14 @@ tomain State write + set + make + get + Display + get_mode + wincon + Empty + winapi crossterm_cursor @@ -219,57 +214,57 @@ @@ -280,10 +275,10 @@ DEFINITION_ORDER - @@ -316,6 +311,7 @@ + @@ -330,120 +326,29 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -