mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
74da631430
The server-side ownership of the palette is a stumbling block for many users, so let's fix it. This commit allows the client to pass its configured palette to the server when it connects, and when the config is changed. That palette takes precedence over the palette from the server config. However, if the remote application uses any escape sequences that redefine the color palette, the color palette that was active at that point in time is forked and use as the basis, and will remain the active palette until the palette is reset via escape sequences. refs: https://github.com/wez/wezterm/issues/2686 refs: https://github.com/wez/wezterm/issues/3397
47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
[package]
|
|
authors = ["Wez Furlong <wez@wezfurlong.org>"]
|
|
name = "wezterm-term"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
repository = "https://github.com/wez/wezterm"
|
|
description = "The Virtual Terminal Emulator core from wezterm; helpful for implementing terminal emulators"
|
|
license = "MIT"
|
|
documentation = "https://docs.rs/wezterm-term"
|
|
keywords = ["terminal", "emulator", "vte"]
|
|
readme = "README.md"
|
|
|
|
[features]
|
|
use_serde = ["termwiz/use_serde"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
bitflags = "1.3"
|
|
csscolorparser = "0.6"
|
|
downcast-rs = "1.0"
|
|
humansize = "2.1"
|
|
miniz_oxide = "0.4"
|
|
finl_unicode = "1.2"
|
|
hex = "0.4"
|
|
# we want image 0.24.6 or later. see https://github.com/wez/wezterm/issues/3250
|
|
image = {version="0.24", git="https://github.com/image-rs/image.git", rev="fe069785ae245a2c510fd724ef96da283b05a236"}
|
|
lazy_static = "1.4"
|
|
log = "0.4"
|
|
lru = "0.7"
|
|
num-traits = "0.2"
|
|
ordered-float = "3.0"
|
|
serde = {version="1.0", features = ["rc"]}
|
|
terminfo = "0.8"
|
|
unicode-normalization = "0.1.21"
|
|
url = "2"
|
|
wezterm-bidi = { path = "../bidi" }
|
|
wezterm-dynamic = { path = "../wezterm-dynamic" }
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.10"
|
|
k9 = "0.11.0"
|
|
|
|
[dependencies.termwiz]
|
|
version = "0.22"
|
|
path = "../termwiz"
|
|
features = ["use_image"]
|