[package]
name = "tb-ui"
description = "Terminal Basic: Forms-Engine mit optionalem Terminal-Backend"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true

[features]
default = []
terminal = ["dep:ratatui", "dep:crossterm", "dep:signal-hook"]

[dependencies]
tb-runtime.workspace = true
tb-frontend.workspace = true
ratatui = { workspace = true, optional = true }
crossterm = { workspace = true, optional = true }
signal-hook = { workspace = true, optional = true }
thiserror.workspace = true
log.workspace = true
unicode-width.workspace = true

[dev-dependencies]
anyhow.workspace = true

[[example]]
name = "spike"
required-features = ["terminal"]
