Added support for unicode word splitting and change inline to use it
This commit is contained in:
parent
d0dd42e4af
commit
0a4dd224f5
6 changed files with 66 additions and 22 deletions
|
|
@ -15,6 +15,7 @@ all-features = true
|
|||
[features]
|
||||
default = ["text"]
|
||||
text = []
|
||||
inline = ["unicode"]
|
||||
unicode = ["text", "unicode-segmentation"]
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
@ -30,7 +31,7 @@ required-features = ["text"]
|
|||
|
||||
[[example]]
|
||||
name = "terminal-inline"
|
||||
required-features = ["text"]
|
||||
required-features = ["text", "inline"]
|
||||
|
||||
[[example]]
|
||||
name = "udiff"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue