From 34c54e7e0eb7c28406df112d118b82280be2adee Mon Sep 17 00:00:00 2001 From: Nathan Lilienthal Date: Fri, 3 May 2019 19:48:25 -0400 Subject: Add git hash to version string, and fix crate name (#2397) This moves `cli` out of `alacritty_terminal` and into `alacritty` where it belongs, along with the `clap` dependency. --- alacritty_terminal/src/tty/unix.rs | 3 +-- alacritty_terminal/src/tty/windows/conpty.rs | 3 +-- alacritty_terminal/src/tty/windows/mod.rs | 3 +-- alacritty_terminal/src/tty/windows/winpty.rs | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) (limited to 'alacritty_terminal/src/tty') diff --git a/alacritty_terminal/src/tty/unix.rs b/alacritty_terminal/src/tty/unix.rs index 0e3dc2fd..668fe7bd 100644 --- a/alacritty_terminal/src/tty/unix.rs +++ b/alacritty_terminal/src/tty/unix.rs @@ -15,8 +15,7 @@ //! tty related functionality //! -use crate::cli::Options; -use crate::config::{Config, Shell}; +use crate::config::{Config, Options, Shell}; use crate::display::OnResize; use crate::term::SizeInfo; use crate::tty::{ChildEvent, EventedPty, EventedReadWrite}; diff --git a/alacritty_terminal/src/tty/windows/conpty.rs b/alacritty_terminal/src/tty/windows/conpty.rs index 1cadd511..0789dd96 100644 --- a/alacritty_terminal/src/tty/windows/conpty.rs +++ b/alacritty_terminal/src/tty/windows/conpty.rs @@ -37,8 +37,7 @@ use winapi::um::processthreadsapi::{ use winapi::um::winbase::{EXTENDED_STARTUPINFO_PRESENT, STARTF_USESTDHANDLES, STARTUPINFOEXW}; use winapi::um::wincontypes::{COORD, HPCON}; -use crate::cli::Options; -use crate::config::{Config, Shell}; +use crate::config::{Config, Options, Shell}; use crate::display::OnResize; use crate::term::SizeInfo; diff --git a/alacritty_terminal/src/tty/windows/mod.rs b/alacritty_terminal/src/tty/windows/mod.rs index f5532d8e..a3d3faec 100644 --- a/alacritty_terminal/src/tty/windows/mod.rs +++ b/alacritty_terminal/src/tty/windows/mod.rs @@ -24,8 +24,7 @@ use winapi::shared::winerror::WAIT_TIMEOUT; use winapi::um::synchapi::WaitForSingleObject; use winapi::um::winbase::WAIT_OBJECT_0; -use crate::cli::Options; -use crate::config::Config; +use crate::config::{Config, Options}; use crate::display::OnResize; use crate::term::SizeInfo; use crate::tty::{EventedPty, EventedReadWrite}; diff --git a/alacritty_terminal/src/tty/windows/winpty.rs b/alacritty_terminal/src/tty/windows/winpty.rs index 10bd9d01..7aa976ee 100644 --- a/alacritty_terminal/src/tty/windows/winpty.rs +++ b/alacritty_terminal/src/tty/windows/winpty.rs @@ -27,8 +27,7 @@ use winapi::um::winbase::FILE_FLAG_OVERLAPPED; use winpty::Config as WinptyConfig; use winpty::{ConfigFlags, MouseMode, SpawnConfig, SpawnFlags, Winpty}; -use crate::cli::Options; -use crate::config::{Config, Shell}; +use crate::config::{Config, Options, Shell}; use crate::display::OnResize; use crate::term::SizeInfo; -- cgit v1.2.3-54-g00ecf