From df86426c93df9aa8d571ad9e949a5d8ae4c0ad50 Mon Sep 17 00:00:00 2001 From: TimonPost Date: Sun, 20 May 2018 14:08:14 +0200 Subject: [PATCH] Changed module names and some method names to make the calls more cleaner. Fixed get cursor position for unix. Default ansi codes if not supported winapi will be used. --- .idea/workspace.xml | 789 ++++++++++---------------- examples/bin.rs | 9 - examples/terminal/alternate_screen.rs | 139 ++--- examples/terminal/mod.rs | 6 +- examples/terminal/raw_mode.rs | 1 + src/state/commands/shared_commands.rs | 3 - src/state/commands/unix_command.rs | 7 - src/state/commands/win_commands.rs | 8 - src/terminal/mod.rs | 4 +- 9 files changed, 373 insertions(+), 593 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 600a5bf..ad371db 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,54 +2,15 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - - + + - - + + - - - + + - - + + - - - - - - - - + + - - + + - - - - - - - - - - - - - - + + - - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -229,16 +164,9 @@ - - - @@ -297,6 +227,9 @@ true DEFINITION_ORDER + + + - - - - - - - - - - - + - @@ -347,18 +269,6 @@ - - - - - - - - - - - - @@ -376,25 +286,6 @@ - - - - - - - - - - - - - - - - - - - @@ -419,7 +310,7 @@ - + @@ -431,18 +322,18 @@