more mac + windows build tweaks
This commit is contained in:
1 parent
4fdee2baf0
commit
52dfce6c4e
2 files changed
+2
-2
No files matched your search
@@ -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};
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user