using ropey for textarea
This commit is contained in:
@@ -23,6 +23,8 @@ tracing = "0.1.41"
|
||||
tracing-subscriber = "0.3.19"
|
||||
async-trait.workspace = true
|
||||
regex = { workspace = true, optional = true }
|
||||
ropey = { version = "1.6.1", optional = true }
|
||||
once_cell = "1.21.3"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-test = "0.4.4"
|
||||
@@ -34,7 +36,7 @@ suggestions = ["tokio"]
|
||||
cursor-style = ["crossterm"]
|
||||
validation = ["regex"]
|
||||
computed = []
|
||||
textarea = ["gui"]
|
||||
textarea = ["dep:ropey","gui"]
|
||||
|
||||
# text modes (mutually exclusive; default to vim)
|
||||
textmode-vim = []
|
||||
@@ -48,6 +50,7 @@ all-nontextmodes = [
|
||||
"computed",
|
||||
"textarea"
|
||||
]
|
||||
ropey = ["dep:ropey"]
|
||||
|
||||
[[example]]
|
||||
name = "suggestions"
|
||||
|
||||
Reference in New Issue
Block a user