mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
b83a26ffe0
When an application takes control over the mouse, it usually disables selection completely. However the common way to still make selection possible is by allowing selection while the shift key is held down. This feature is implemented here by making use of the new `modifiers` field on mouse events with glutin/winit. This fixes jwilm/alacritty#146.
59 lines
1.1 KiB
TOML
59 lines
1.1 KiB
TOML
[package]
|
|
name = "alacritty"
|
|
version = "0.1.0"
|
|
authors = ["Joe Wilm <joe@jwilm.com>"]
|
|
license = "Apache-2.0"
|
|
build = "build.rs"
|
|
description = "GPU-accelerated terminal emulator"
|
|
|
|
[[bin]]
|
|
doc = false
|
|
path = "src/main.rs"
|
|
name = "alacritty"
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
cgmath = "0.15"
|
|
notify = "4"
|
|
bitflags = "1"
|
|
font = { path = "./font" }
|
|
errno = "0.2"
|
|
parking_lot = "0.5"
|
|
serde = "1"
|
|
serde_derive = "1"
|
|
serde_json = "1"
|
|
serde_yaml = "0.7"
|
|
vte = "0.3"
|
|
mio = "0.6"
|
|
mio-more = "0.1"
|
|
copypasta = { path = "./copypasta" }
|
|
xdg = "2"
|
|
log = "0.3"
|
|
clap = "2"
|
|
fnv = "1"
|
|
unicode-width = "0.1"
|
|
arraydeque = "0.2"
|
|
glutin = "0.12"
|
|
clippy = { version = "*", optional = true }
|
|
env_logger = "0.4"
|
|
base64 = "0.9.0"
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os="dragonfly", target_os="openbsd"))'.dependencies]
|
|
x11-dl = "2"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc = "0.2.2"
|
|
|
|
[features]
|
|
default = []
|
|
# Enabling this feature makes shaders automatically reload when changed
|
|
live-shader-reload = []
|
|
nightly = []
|
|
bench = []
|
|
|
|
[build-dependencies]
|
|
gl_generator = "0.7"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
debug = true
|