mirror of
https://github.com/helix-editor/helix
synced 2024-11-10 10:34:45 +01:00
611701c362
Wether the host terminal supports keyboard enhancement can be cached for the lifetime of a Helix session. Caching this lookup prevents a potential lockup within crossterm's event reading system where the query for the keyboard enhancement support waits on the next keyboard event, which can happen if the crossterm event stream is checked by `tokio::select!` in another thread.
29 lines
781 B
INI
29 lines
781 B
INI
[package]
|
|
name = "helix-tui"
|
|
version = "0.6.0"
|
|
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
|
|
description = """
|
|
A library to build rich terminal user interfaces or dashboards
|
|
"""
|
|
edition = "2021"
|
|
license = "MPL-2.0"
|
|
categories = ["editor"]
|
|
repository = "https://github.com/helix-editor/helix"
|
|
homepage = "https://helix-editor.com"
|
|
include = ["src/**/*", "README.md"]
|
|
|
|
[features]
|
|
default = ["crossterm"]
|
|
|
|
[dependencies]
|
|
bitflags = "1.3"
|
|
cassowary = "0.3"
|
|
unicode-segmentation = "1.10"
|
|
crossterm = { version = "0.26", optional = true }
|
|
termini = "0.1"
|
|
serde = { version = "1", "optional" = true, features = ["derive"]}
|
|
once_cell = "1.17"
|
|
log = "~0.4"
|
|
helix-view = { version = "0.6", path = "../helix-view", features = ["term"] }
|
|
helix-core = { version = "0.6", path = "../helix-core" }
|