diff options
author | Nathan Lilienthal <nathan@nixpulvis.com> | 2019-05-03 19:48:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-03 19:48:25 -0400 |
commit | 34c54e7e0eb7c28406df112d118b82280be2adee (patch) | |
tree | 7b32e11bed7906d67d43da81bd8e8b08f128660d /alacritty_terminal/src/tty | |
parent | ba6e208a95e37116b031aca02246d3cff04c0216 (diff) | |
download | alacritty-34c54e7e0eb7c28406df112d118b82280be2adee.tar.gz alacritty-34c54e7e0eb7c28406df112d118b82280be2adee.zip |
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.
Diffstat (limited to 'alacritty_terminal/src/tty')
-rw-r--r-- | alacritty_terminal/src/tty/unix.rs | 3 | ||||
-rw-r--r-- | alacritty_terminal/src/tty/windows/conpty.rs | 3 | ||||
-rw-r--r-- | alacritty_terminal/src/tty/windows/mod.rs | 3 | ||||
-rw-r--r-- | alacritty_terminal/src/tty/windows/winpty.rs | 3 |
4 files changed, 4 insertions, 8 deletions
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; |