1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-18 19:01:36 +03:00
wezterm/term/Cargo.toml

44 lines
999 B
TOML
Raw Normal View History

[package]
authors = ["Wez Furlong <wez@wezfurlong.org>"]
name = "wezterm-term"
version = "0.1.0"
2019-02-19 10:20:59 +03:00
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"
2020-06-13 20:00:09 +03:00
[features]
2022-05-18 19:25:41 +03:00
use_serde = ["termwiz/use_serde"]
2020-06-13 20:00:09 +03:00
[dependencies]
2019-12-15 08:43:05 +03:00
anyhow = "1.0"
2021-08-16 04:21:17 +03:00
bitflags = "1.3"
csscolorparser = "0.6"
miniz_oxide = "0.4"
hex = "0.4"
2022-02-07 04:51:32 +03:00
image = "0.24"
lazy_static = "1.4"
2019-06-09 01:30:47 +03:00
log = "0.4"
2021-10-11 05:29:42 +03:00
lru = "0.7"
num-traits = "0.2"
ordered-float = "3.0"
serde = {version="1.0", features = ["rc"]}
terminfo = "0.7"
unicode-segmentation = "1.8"
2020-01-11 10:18:49 +03:00
url = "2"
bidi: tag Line with bidi mode This commit refines bidi property handling: * experimental_bidi has been split into two new configuration settings; `bidi_enabled` (which controls whether the terminal performs implicit bidi processing) and `bidi_direction` which specifies the base direction and whether auto detection is enabled. * The `Line` type can now store those bidi properties (they are actually split across 3 bits representing enabled, auto-detection and direction) * The terminal now has a concept of active bidi properties and default bidi properties * The default properties are pulled from the wezterm configuration * active bidi properties are potentially set via escape sequences, BDSM (which sets bidi_enabled) and SCP (which sets bidi_direction). We don't support the 2501 temporary dec private mode suggested by the BIDI recommendation doc at this time. * When creating new `Line`'s or clearing from the start of a `Line`, the effective bidi properties are computed (from the active props, falling back to default propr) and applied to the `Line`. * When rendering the line, we now look at its bidi properties instead of just the global config. The default bidi properties are `bidi_enabled: false` and `bidi_direction: LeftToRight` which corresponds to the typical bidi-unaware mode of most terminals. It is possible to live reload the config to change the effective defaults, but note that they apply, by design, to new lines being processed through the terminal. That means existing output is left unaffected by a config reload, but subsequently printed lines will respect it. Pressing CTRL-L or otherwise contriving to have the running application refresh its display should cause the refreshed display to update and apply the new bidi mode. refs: #784
2022-01-30 19:22:17 +03:00
wezterm-bidi = { path = "../bidi" }
wezterm-dynamic = { path = "../wezterm-dynamic" }
[dev-dependencies]
env_logger = "0.9"
k9 = "0.11.0"
unicode-normalization = "0.1"
[dependencies.termwiz]
2022-08-02 04:31:43 +03:00
version = "0.17"
path = "../termwiz"
features = ["use_image"]