1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 22:33:52 +03:00
wezterm/Cargo.toml
Stephane Fontaine b94527664f Initial xkbcommon support
Remove detailed xcb select event hack

Only remove consumed "mod5" for now

which is AltGr.

Get actual modifiers from xkb.

it should enable 1:1 match with user's xmodmad

[clippy] allow keys deadcodes

handle mods & keys separately. Allows passing down `ctrl+2`

state.key_get_utf8 will interpret ctrl+2 (or @, space, ~) to 'ctrl \u{0}'

no need to wait for events.

+ Send delete as enum variant not by char value

Hook XKeysym to termwiz::KeyCode

prefer dealing with chars instead of utf8

Actually this breaks multi unicode characters .. such as J́
Others can be found with
perl -lane '/"\s+#/ && print' < /usr/share/X11/locale/en_US.UTF-8/Compose

Anyway we will need to return a Vec of chars for those.

cleanup

apply rustfmt

query locale via libc
2019-02-23 13:04:39 -08:00

95 lines
1.9 KiB
TOML

[package]
authors = ["Wez Furlong <wez@wezfurlong.org>"]
name = "wezterm"
version = "0.1.0"
edition = "2018"
[dependencies]
bitflags = "~1.0"
euclid = "~0.19"
failure = "~0.1"
failure_derive = "~0.1"
futures = "~0.1"
gl = "~0.11"
libc = "~0.2"
palette = "~0.4"
serde = "~1.0"
serde_derive = "~1.0"
toml = "~0.4"
unicode-width = "~0.1"
directories = "~1.0"
font-loader = "0.8"
rusttype = "0.7"
clipboard = "0.5"
unicode-normalization = "~0.1"
freetype = "~0.4"
open = "1.2"
structopt = "0.2"
foreign-types = "0.3"
[target.'cfg(unix)'.dependencies]
harfbuzz-sys = "~0.3"
mio = "~0.6"
mio-extras = "~2.0"
[dependencies.term]
path = "term"
[dependencies.termwiz]
path = "termwiz"
[target."cfg(windows)".dependencies.winapi]
features = [
"winuser",
"consoleapi",
"handleapi",
"fileapi",
"namedpipeapi",
]
version = "~0.3"
[target.'cfg(any(target_os = "android", all(unix, not(target_os = "macos"))))'.dependencies]
servo-fontconfig = "~0.4"
egli = "~0.4"
x11 = {version ="~2.18", features = ["xlib_xcb"]}
[dependencies.glium]
version = "~0.23"
default-features = false
features = ["glutin"]
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.xcb]
version = "~0.8"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.xkbcommon]
version = "~0.4"
features = ["x11"]
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.xcb-util]
features = [
"icccm",
"ewmh",
"keysyms",
]
version = "~0.2"
[target.'cfg(target_os = "macos")'.dependencies]
core-text = "~13.1"
core-graphics = "0.17"
core-foundation = "0.6"
[features]
debug-escape-sequences = ["term/debug-escape-sequences"]
force-glutin = []
force-rusttype = []
[patch.crates-io]
# We need https://github.com/tomaka/glutin/pull/1099
glutin = { git = "https://github.com/yvt/glutin", branch="patch-macos-iscurrent" }
harfbuzz-sys = { git = "https://github.com/wez/rust-harfbuzz", branch="coretext" }
[workspace]
[profile.release]
debug = true