Fix mention highlighting

The mention color would sometimes go until the end of the line because
splitting Styled-s was buggy.
This commit is contained in:
Joscha 2022-08-03 13:21:28 +02:00
parent 2dfdbbb4d2
commit 56507b4875
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View file

@ -1248,7 +1248,7 @@ dependencies = [
[[package]] [[package]]
name = "toss" name = "toss"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/Garmelon/toss.git?rev=26a8936cf50ee4b775fd4d1bf96f1b3077421e5c#26a8936cf50ee4b775fd4d1bf96f1b3077421e5c" source = "git+https://github.com/Garmelon/toss.git?rev=dfc10f9d092bf9ac85a8718f1b80df28aeb0ec23#dfc10f9d092bf9ac85a8718f1b80df28aeb0ec23"
dependencies = [ dependencies = [
"crossterm", "crossterm",
"unicode-linebreak", "unicode-linebreak",

View file

@ -34,7 +34,7 @@ features = ["rustls-tls-native-roots"]
[dependencies.toss] [dependencies.toss]
git = "https://github.com/Garmelon/toss.git" git = "https://github.com/Garmelon/toss.git"
rev = "26a8936cf50ee4b775fd4d1bf96f1b3077421e5c" rev = "dfc10f9d092bf9ac85a8718f1b80df28aeb0ec23"
# [patch."https://github.com/Garmelon/toss.git"] # [patch."https://github.com/Garmelon/toss.git"]
# toss = { path = "../toss/" } # toss = { path = "../toss/" }