1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00
alacritty/alacritty_terminal/Cargo.toml
Christian Duerr 9dddf649a1
Switch to rfind_url for URL detection
This switches to rfind_url for detecting URLs inside the grid. Instead
of expanding at the cursor position, the complete terminal is searched
from the bottom until the visible region is left with no active URL.

Instead of having the field `cur` publicly accessibly on the
`DisplayIterator`, there are the two methods `DisplayIterator::point`
and `DisplayIterator::cell` for accessing the current element of the
iterator now. This allows accessing the current element right after
creating the iterator.

Fixes #2629.
Fixes #2627.
2019-08-01 15:37:01 +00:00

70 lines
1.6 KiB
TOML

[package]
name = "alacritty_terminal"
version = "0.3.3"
authors = ["Joe Wilm <joe@jwilm.com>"]
license = "Apache-2.0"
build = "build.rs"
description = "Library for writing terminal emulators"
readme = "../README.md"
homepage = "https://github.com/jwilm/alacritty"
edition = "2018"
[dependencies]
libc = "0.2"
notify = "4"
bitflags = "1"
font = { path = "../font" }
errno = "0.2"
parking_lot = "0.7"
serde = "1"
serde_derive = "1"
serde_yaml = "0.8"
vte = "0.3"
mio = "0.6"
mio-extras = "2"
log = "0.4"
fnv = "1"
unicode-width = "0.1"
glutin = { version = "0.21.0", features = ["icon_loading"] }
base64 = "0.10.0"
static_assertions = "0.3.0"
terminfo = "0.6.1"
url = "1.7.1"
crossbeam-channel = "0.3.8"
copypasta = { path = "../copypasta" }
rfind_url = "0.4.0"
[target.'cfg(unix)'.dependencies]
nix = "0.14.1"
signal-hook = { version = "0.1", features = ["mio-support"] }
[target.'cfg(not(any(target_os = "macos", windows)))'.dependencies]
x11-dl = "2"
[target.'cfg(windows)'.dependencies]
winpty = { path = "../winpty" }
mio-named-pipes = "0.1"
miow = "0.3"
dunce = "1.0"
winapi = { version = "0.3.7", features = ["impl-default", "winuser", "synchapi", "roerrorapi", "winerror", "wincon", "wincontypes"]}
widestring = "0.4"
mio-anonymous-pipes = "0.1"
[target.'cfg(not(target_os = "macos"))'.dependencies]
image = "0.21.0"
[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.13.0"
[dev-dependencies]
serde_json = "1.0.0"