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 fetchfailures into actionable categories. - git_cmd
- Subprocess construction for the TUI crate and bounded
gitexecution. - 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
gitwigandgtgbinaries.