Skip to main content

Crate gitwig

Crate gitwig 

Source
Expand description

Gitwig library root.

run is the single implementation shared by the gitwig and gtg binaries (src/main.rs and src/bin/gtg.rs), which are both thin wrappers. Keeping the real logic here — rather than in main.rs twice — means Cargo compiles and tests it once instead of once per binary.

Re-exports§

pub use gitwig_core as repo;

Modules§

components
Stateless UI widgets package module declaration.
fetch_error
Classification of git fetch failures into actionable categories.
git_cmd
Subprocess construction for the TUI crate and bounded git execution.
keybindings
User keybindings definitions and custom layout mappings.
mouse
Mouse event handler for grid clicks, scrolling, drag-to-resize splitters, and window resizing.
popups
Modal overlays package module declaration.
stats
tabs
terminal_session
Embedded terminal session: a shell running in a PTY, rendered inside the TUI by the terminal panel (components::terminal_panel).
ui_detail
Full-screen detail view for the currently-selected item.

Functions§

run
Entry point shared by the gitwig and gtg binaries.