Skip to main content

Crate seal_tui

Crate seal_tui 

Source
Expand description

seal-tui - GitHub-style code review TUI for seal

Uses Elm Architecture (Model/Message/Update/View) with ftui rendering. Replaces the standalone botseal-ui with direct SealServices integration.

Re-exports§

pub use core_client::CoreClient;
pub use db::SealClient;
pub use message::Message;
pub use model::Focus;
pub use model::LayoutMode;
pub use model::Model;
pub use model::Screen;
pub use syntax::HighlightSpan;
pub use syntax::Highlighter;
pub use theme::Theme;
pub use update::update;
pub use view::view;

Modules§

command
Command definitions for the command palette.
config
User configuration handling
core_client
SealClient implementation backed by SealServices (direct library calls).
db
Shared types for review data and the SealClient trait.
diff
Unified diff parser and rendering
input
Input mapping: events → messages.
layout
Centralized layout constants and derived width functions.
markdown
Minimal markdown rendering for review descriptions and comments.
message
Message types for the Elm Architecture
model
Application state model
render_backend
Rendering backend facade.
stream
Stream layout helpers for the right pane
syntax
Syntax highlighting module using syntect
text
Text utilities
theme
Theme system for botseal-ui
update
State update logic (Elm Architecture)
vcs
Version control system integration for fetching diffs.
view
View rendering

Functions§

run
Run the TUI application with direct SealServices integration.