From bb2067ed7bd79c52f042ac097b99ffed277aa0db Mon Sep 17 00:00:00 2001 From: TimonPost Date: Mon, 18 Jun 2018 22:10:41 +0200 Subject: [PATCH] Maked windows compilable and worked on the screen manager for windows. --- .idea/workspace.xml | 1026 ++++++++++----------- src/cursor/cursor.rs | 3 +- src/cursor/winapi_cursor.rs | 16 +- src/kernel/windows_kernel/ansi_support.rs | 6 +- src/manager/ansi_manager.rs | 14 +- src/manager/manager.rs | 2 +- src/manager/mod.rs | 6 +- src/manager/win_manager.rs | 54 +- src/shared/functions.rs | 4 +- src/shared/screen.rs | 14 +- src/state/commands/win_commands.rs | 45 +- src/state/context.rs | 2 +- src/state/state_manager.rs | 5 + src/style/color/color.rs | 13 +- src/style/color/winapi_color.rs | 15 +- src/style/styles/objectstyle.rs | 6 +- src/style/styles/styledobject.rs | 20 +- src/terminal/terminal.rs | 7 +- src/terminal/winapi_terminal.rs | 44 +- 19 files changed, 635 insertions(+), 667 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b2e5059..4be070b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,51 +2,25 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -100,59 +43,96 @@ - - - + + - - - - - - - - - - - + - - - + + - - + + - - - + + + + + + + + - - + + - - - + + - - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -168,11 +148,6 @@ - Construct - EnableRawModeCommandretu - return - crossterm_ - clear self. output std @@ -198,6 +173,11 @@ ScreenManager color terminal + cursor( + IStateCommand + execute + get_to_alternate_screen_command + functions crossterm_cursor @@ -216,25 +196,14 @@ - - - @@ -288,10 +263,10 @@ - @@ -310,23 +285,10 @@ - - - - - - - - - - - + - - - @@ -345,33 +307,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -383,6 +318,19 @@ + + + + + + + + + + + + + @@ -438,7 +386,9 @@