зеркало из
https://github.com/glebtv/tui-textarea.git
synced 2026-09-07 16:05:50 +03:00
feat: add screen/data cursor maps for wrapped movement (#17)
* feat!: remove tui-rs support and map screen cursors * docs(examples): add fixed-size recording mode * chore(release): bump to v0.11.0
Этот коммит содержится в:
24
Cargo.toml
24
Cargo.toml
@@ -3,12 +3,12 @@ name = "tui-textarea-2"
|
||||
homepage = "https://github.com/srothgan/tui-textarea#readme"
|
||||
repository = "https://github.com/srothgan/tui-textarea"
|
||||
documentation = "https://docs.rs/tui-textarea-2/latest/tui_textarea/"
|
||||
version = "0.10.2"
|
||||
version = "0.11.0"
|
||||
edition = "2024"
|
||||
rust-version = "1.85.0" # for Rust 2024 edition support
|
||||
authors = ["Simon Peter Rothgang <simonrothgang@icloud.com>", "rhysd <lin90162@yahoo.co.jp>"]
|
||||
description = """
|
||||
tui-textarea is a simple yet powerful text editor widget for ratatui and tui-rs. Multi-line
|
||||
tui-textarea is a simple yet powerful text editor widget for ratatui. Multi-line
|
||||
text editor can be easily put as part of your TUI application.
|
||||
"""
|
||||
license = "MIT"
|
||||
@@ -29,11 +29,6 @@ crossterm_0_28 = ["ratatui", "dep:crossterm-028"]
|
||||
termion = ["ratatui", "dep:termion"]
|
||||
termwiz = ["ratatui", "dep:termwiz"]
|
||||
no-backend = ["ratatui"]
|
||||
# Features to use tui-rs
|
||||
tuirs = ["dep:tui"]
|
||||
tuirs-crossterm = ["tuirs", "dep:crossterm-025", "tui/crossterm"]
|
||||
tuirs-termion = ["tuirs", "dep:termion-15", "tui/termion"]
|
||||
tuirs-no-backend = ["tuirs"]
|
||||
# Other optional features
|
||||
search = ["dep:regex"]
|
||||
serde = ["dep:serde"]
|
||||
@@ -43,15 +38,12 @@ arbitrary = ["dep:arbitrary"]
|
||||
arbitrary = { version = "1", features = ["derive"], optional = true }
|
||||
crossterm = { package = "crossterm", version = "0.29", optional = true }
|
||||
crossterm-028 = { package = "crossterm", version = "0.28", optional = true }
|
||||
crossterm-025 = { package = "crossterm", version = "0.25", optional = true }
|
||||
ratatui-core = { version = "0.1.0", default-features = false, optional = true }
|
||||
ratatui-widgets = { version = "0.3.0", default-features = false, optional = true }
|
||||
portable-atomic = "1.11.1"
|
||||
regex = { version = "1", optional = true }
|
||||
termion = { version = "4.0", optional = true }
|
||||
termion-15 = { package = "termion", version = "1.5", optional = true }
|
||||
termwiz = { version = "0.23.0", optional = true }
|
||||
tui = { version = "0.19", default-features = false, optional = true }
|
||||
unicode-width = "0.2.0"
|
||||
unicode-segmentation = "1.10.1"
|
||||
serde = { version = "1", optional = true , features = ["derive"] }
|
||||
@@ -96,18 +88,6 @@ required-features = ["termwiz"]
|
||||
name = "termion"
|
||||
required-features = ["termion"]
|
||||
|
||||
[[example]]
|
||||
name = "tuirs_minimal"
|
||||
required-features = ["tuirs-crossterm"]
|
||||
|
||||
[[example]]
|
||||
name = "tuirs_editor"
|
||||
required-features = ["tuirs-crossterm", "search"]
|
||||
|
||||
[[example]]
|
||||
name = "tuirs_termion"
|
||||
required-features = ["tuirs-termion"]
|
||||
|
||||
[workspace]
|
||||
members = ["bench"]
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user