From 26a196015944adf6c60dfb771f0650bc9d1eec88 Mon Sep 17 00:00:00 2001 From: TimonPost Date: Tue, 3 Jul 2018 22:48:04 +0200 Subject: [PATCH] Windows alternate screen working. color implementation for alternate screen fixed. And all functionalities for the main screen should also work --- .idea/workspace.xml | 549 ++++++++++-------- .../terminal/alternate_screen.rs | 7 +- src/cursor/cursor.rs | 9 +- src/kernel/windows_kernel/kernel.rs | 128 ++-- src/manager/manager.rs | 2 +- src/manager/win_manager.rs | 6 +- src/state/commands/win_commands.rs | 1 + src/style/color/ansi_color.rs | 46 +- src/style/color/color.rs | 16 +- src/style/color/mod.rs | 6 +- src/style/color/winapi_color.rs | 11 +- src/style/styles/styledobject.rs | 91 +-- src/terminal/terminal.rs | 7 +- 13 files changed, 473 insertions(+), 406 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 1eddecf..1af3139 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,58 +2,19 @@ - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -84,11 +130,6 @@ - cursor_vis - write - ToAlternateScreenBufferCommand - new - terminal ICommand Write StyledObject @@ -114,6 +155,11 @@ csbi context terminal_size + colored_terminal + get_output + get + haha + handle crossterm_cursor @@ -137,8 +183,6 @@ @@ -227,6 +273,7 @@ + @@ -367,7 +414,6 @@