mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 12:23:46 +03:00
tweak windows imports
This commit is contained in:
parent
77884e2522
commit
9bc99f5f1c
@ -37,7 +37,7 @@ x11 = {version ="~2.17", features = ["xlib_xcb"]}
|
|||||||
[target.'cfg(any(target_os = "android", windows, all(unix, not(target_os = "macos"))))'.dependencies.glium]
|
[target.'cfg(any(target_os = "android", windows, all(unix, not(target_os = "macos"))))'.dependencies.glium]
|
||||||
version = "~0.20"
|
version = "~0.20"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = []
|
features = ["glutin"]
|
||||||
|
|
||||||
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.xcb]
|
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.xcb]
|
||||||
version = "~0.8"
|
version = "~0.8"
|
||||||
|
@ -6,6 +6,7 @@ use mio;
|
|||||||
use mio::{PollOpt, Ready, Token};
|
use mio::{PollOpt, Ready, Token};
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
#[cfg(unix)]
|
||||||
use std::os::unix::io::RawFd;
|
use std::os::unix::io::RawFd;
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
use std::sync::mpsc::{self, Receiver, Sender, TryRecvError};
|
use std::sync::mpsc::{self, Receiver, Sender, TryRecvError};
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
use failure::Error;
|
use failure::Error;
|
||||||
use std::process::ExitStatus;
|
use std::process::ExitStatus;
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(any(windows, target_os = "macos"))]
|
||||||
mod glutinloop;
|
mod glutinloop;
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(any(windows, target_os = "macos"))]
|
||||||
pub use glutinloop::{GuiEventLoop, GuiSender};
|
pub use glutinloop::{GuiEventLoop, GuiSender};
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(any(windows, target_os = "macos"))]
|
||||||
pub use gliumwindows::TerminalWindow;
|
pub use gliumwindows::TerminalWindow;
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(any(windows, target_os = "macos"))]
|
||||||
pub use mpsc::Receiver as GuiReceiver;
|
pub use mpsc::Receiver as GuiReceiver;
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(any(windows, target_os = "macos"))]
|
||||||
pub use glium::glutin::WindowId;
|
pub use glium::glutin::WindowId;
|
||||||
|
|
||||||
#[cfg(all(unix, not(target_os = "macos")))]
|
#[cfg(all(unix, not(target_os = "macos")))]
|
||||||
|
@ -51,11 +51,11 @@ mod config;
|
|||||||
|
|
||||||
mod futurecore;
|
mod futurecore;
|
||||||
mod opengl;
|
mod opengl;
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(any(windows,target_os = "macos"))]
|
||||||
mod remotemio;
|
mod remotemio;
|
||||||
|
|
||||||
mod clipboard;
|
mod clipboard;
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(any(windows,target_os = "macos"))]
|
||||||
mod gliumwindows;
|
mod gliumwindows;
|
||||||
mod guiloop;
|
mod guiloop;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user