Skip to main content

Crate gitrat

Crate gitrat 

Source
Expand description

gitrat: a terminal UI for staging, viewing diffs and committing.

The binary (main.rs) only parses the CLI and runs the event loop; every module lives here so the integration tests in tests/ can use it.

Modulesยง

app
diff
Turns raw git diff output into rows ready to render: line numbers, syntax highlighting, and word-level emphasis of what changed inside a line.
event_handler
git
terminal
theme
types
ui