From fc61ef778f7f65ccc727991c76c9f14200970e7d Mon Sep 17 00:00:00 2001 From: Timon Date: Sun, 29 Jul 2018 21:02:02 +0000 Subject: [PATCH] Fixed unix code --- src/common/screen/alternate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/screen/alternate.rs b/src/common/screen/alternate.rs index cefbb23..2b8bf62 100644 --- a/src/common/screen/alternate.rs +++ b/src/common/screen/alternate.rs @@ -40,7 +40,7 @@ impl AlternateScreen { ).unwrap(); #[cfg(not(target_os = "windows"))] - let command = commands::shared_commands::ToAlternateScreenBufferCommand::new(); + let command = Box::from(commands::shared_commands::ToAlternateScreenCommand::new()); command }