more mac + windows build tweaks

This commit is contained in:
Wez Furlong committed 2019-12-14 22:38:24 -08:00
1 parent 4fdee2baf0
commit 52dfce6c4e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
//! https://github.com/rprichard/winpty/blob/master/src/include/winpty.h
#![allow(dead_code)]
use super::sys::*;
use anyhow::{bail, ensure, Error};
use anyhow::{anyhow, bail, ensure, Error};
use bitflags::bitflags;
use filedescriptor::{FileDescriptor, OwnedHandle};
use std::ffi::{OsStr, OsString};
+1 -1
View File
@@ -10,7 +10,7 @@ use crate::{
MouseCursor, MouseEvent, MouseEventKind, MousePress, Operator, PaintContext, Point, Rect,
ScreenPoint, Size, WindowCallbacks, WindowOps, WindowOpsMut,
};
use anyhow::{bail, ensure, Context};
use anyhow::{anyhow, bail, ensure};
use cocoa::appkit::{
NSApplicationActivateIgnoringOtherApps, NSBackingStoreBuffered, NSEvent, NSEventModifierFlags,
NSRunningApplication, NSScreen, NSView, NSViewHeightSizable, NSViewWidthSizable, NSWindow,