1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-20 19:27:22 +03:00
wezterm/window/Cargo.toml
Wez Furlong da58b36881 Improve? IME on Windows
This isn't perfect, but is sufficient to allow using the IME to enter
eg: the heart emoji with cmd.exe.

We have some issues locating and rendering chinese characters that
make it difficult to prove/disprove that the IME is working 100%
because we just can't see the glyphs.

In addition, there appears to be something a bit wonky with conpty and
emoji.  If we use eg: `wezterm ssh HOST` to log in to a remote system,
and use the IME to pick eg: the pig face emoji, this renders correctly.
In that scenario we don't use conpty at all.

The IME window is always placed in the top left corner of the window
at the moment, which isn't great, but is better than the system default
which is outside of the window.  I need to introduce a way to set the
IME position in the window layer so that the front end gui can set it
to the current cursor position.
2019-11-02 12:39:05 -07:00

58 lines
1.3 KiB
TOML

[package]
name = "window"
version = "0.1.0"
authors = ["Wez Furlong"]
edition = "2018"
repository = "https://github.com/wez/wezterm"
description = "Cross platform window setup and render"
license = "MIT"
build = "build.rs"
[build-dependencies]
gl_generator = {version="0.13", optional=true}
[dependencies]
bitflags = "1.0"
euclid = "0.20"
failure = "0.1"
failure_derive = "0.1"
lazy_static = "1.3"
libloading = { version = "0.5", optional=true }
line_drawing = "0.8"
palette = "0.4"
promise = { path = "../promise" }
resize = "0.3"
glium = { version = "0.26.0-alpha3", optional=true, default-features = false}
[features]
async_await = []
opengl = ["cgl", "glium", "gl_generator", "libloading"]
[target."cfg(windows)".dependencies]
winapi = { version = "0.3", features = [
"dwmapi",
"handleapi",
"imm",
"libloaderapi",
"synchapi",
"winerror",
"winuser",
]}
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
filedescriptor = "0.5"
x11 = {version ="2.18", features = ["xlib_xcb"]}
xcb = "0.8"
xcb-util = { features = [ "icccm", "ewmh", "keysyms", "shm"], version = "0.2" }
xkbcommon = { version = "0.4", features = ["x11"] }
mio = "0.6"
mio-extras = "2.0"
libc = "0.2"
[target.'cfg(target_os="macos")'.dependencies]
cocoa = "0.19"
objc = "0.2"
core-foundation = "0.6"
core-graphics = "0.17"
cgl = { version = "0.3", optional = true }