aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2024-10-10 22:56:55 +0000
committerGitHub <noreply@github.com>2024-10-10 22:56:55 +0000
commit5dca7a85e7d8e98f8e770c17af8efb442c2277d0 (patch)
treead5e28f0458840e58adedde66a89ae71d3e7cae7 /alacritty_terminal
parentc032c89f1c457c3cf97dcda3f8367115fa5f66ea (diff)
downloadalacritty-5dca7a85e7d8e98f8e770c17af8efb442c2277d0.tar.gz
alacritty-5dca7a85e7d8e98f8e770c17af8efb442c2277d0.zip
Add unicode 16 support
This fixes issues in width calculation for symbols added in Unicode version 16. Since the upstream unicode-width crate has not been updated yet, this makes use of the temporary unicode-width-16 version to support Unicode 16 with Alacritty 0.14.0.
Diffstat (limited to 'alacritty_terminal')
-rw-r--r--alacritty_terminal/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/Cargo.toml b/alacritty_terminal/Cargo.toml
index e643e081..6ac1ebb3 100644
--- a/alacritty_terminal/Cargo.toml
+++ b/alacritty_terminal/Cargo.toml
@@ -23,7 +23,7 @@ log = "0.4"
parking_lot = "0.12.0"
polling = "3.0.0"
regex-automata = "0.4.3"
-unicode-width = "0.1"
+unicode-width = { package = "unicode-width-16", version = "0.1.0" }
vte = { version = "0.13.0", default-features = false, features = ["ansi", "serde"] }
serde = { version = "1", features = ["derive", "rc"], optional = true }