diff options
author | David Hewitt <1939362+davidhewitt@users.noreply.github.com> | 2019-04-04 18:04:06 +0100 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-04-04 17:04:06 +0000 |
commit | 83b5474c4f206db54c81246fb4c64e2222d0812e (patch) | |
tree | ea54c94846be98d42b8db482e3a5b23369d11023 /src | |
parent | e98ea64c748f1cce673c97adbc72e6a9a3c11e5f (diff) | |
download | alacritty-83b5474c4f206db54c81246fb4c64e2222d0812e.tar.gz alacritty-83b5474c4f206db54c81246fb4c64e2222d0812e.zip |
Upgrade to winapi 0.3.7
Diffstat (limited to 'src')
-rw-r--r-- | src/tty/windows/conpty.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/tty/windows/conpty.rs b/src/tty/windows/conpty.rs index 7383118f..70ca55fe 100644 --- a/src/tty/windows/conpty.rs +++ b/src/tty/windows/conpty.rs @@ -24,7 +24,6 @@ use dunce::canonicalize; use mio_anonymous_pipes::{EventedAnonRead, EventedAnonWrite}; use miow; use widestring::U16CString; -use winapi::ctypes::c_void; use winapi::shared::basetsd::{PSIZE_T, SIZE_T}; use winapi::shared::minwindef::{BYTE, DWORD}; use winapi::shared::ntdef::{HANDLE, HRESULT, LPWSTR}; @@ -35,17 +34,13 @@ use winapi::um::processthreadsapi::{ PROCESS_INFORMATION, STARTUPINFOW, }; use winapi::um::winbase::{EXTENDED_STARTUPINFO_PRESENT, STARTF_USESTDHANDLES, STARTUPINFOEXW}; -use winapi::um::wincon::COORD; +use winapi::um::wincontypes::{COORD, HPCON}; use crate::cli::Options; use crate::config::{Config, Shell}; use crate::display::OnResize; use crate::term::SizeInfo; -// This will be merged into winapi as PR #699 -// TODO: Use the winapi definition directly after that. -pub type HPCON = *mut c_void; - /// Dynamically-loaded Pseudoconsole API from kernel32.dll /// /// The field names are deliberately PascalCase as this matches |