nandi/jolt-nativepublic Fork 0
0b92f67f944e81120d053ace058b0ffde413140e
Commits
Clone
git clone https://git.rickub.com/nandi/jolt-native.git
git clone ssh://git@rickub.com/nandi/jolt-native.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Cargo.toml · 26 lines · 884 BTOML Blame HistoryRaw
Paint the same tree into a terminal, for the machines with no window a7f6202 nandi 17d ago1[package]
2name = "jolt-tui"
3version.workspace = true
4edition.workspace = true
5license.workspace = true
6description = "glimmer's terminal backend behind a C ABI"
7publish = false
8
9# Produces `libjolttui.so`. The retained-tree ABI `libvidya` exports, painted
10# into a terminal instead of a window — so the jolt side picks a backend by
11# naming a different shared object.
12[lib]
13name = "jolttui"
14crate-type = ["cdylib", "rlib"]
15
16[features]
17# On by default; without it the crate still builds the tree, the layout and the
18# painter, and `tui_headless` still works. That is what CI and the test suite
19# use, and it is why a machine with no TTY can still build and check this.
20default = ["terminal"]
21terminal = ["dep:crossterm"]
22
23[dependencies]
24jolt-abi.workspace = true
25log.workspace = true
26crossterm = { version = "0.28", optional = true, default-features = false, features = ["events"] }