Releases
v0.1.2
Compare
Sorry, something went wrong.
No results found
Critica v0.1.2
Features
Enhanced diff rendering and readability:
Persistent background highlights for added/deleted lines.
Inline change highlighting for precise segment diffs.
Alternating style on unchanged lines to improve scanning.
Centered “lines skipped” separators between hunks.
Syntax highlighting via Chroma (terminal256).
Interactive improvements:
Toggle unified/split view with Tab.
Search/filter files with / (Enter to confirm, Esc to cancel).
Filters: All (a), Staged (s), Changed (c); cycle with f.
Keybindings: j/k navigate, o/Enter open, Space preview/collapse, h/l prev/next, g/G top/bottom, Ctrl+d/u page down/up, Esc back, q quit.
CLI/config integration:
Config-backed defaults for interactive, unified, no_color, diff_mode via ~/.config/critica/config.json.
Flags: --interactive/-i, --unified/-u, --no-color, --staged/-s, --cached/-c.
Documentation
Expanded README.md with installation, usage examples, configuration, and project structure.
Licensing
Internal/Refactors
Clearer theming and rendering pipeline in internal/ui/theme.go and internal/ui/renderer.go.
Improved diff mode selection logic in cmd/root.go honoring config vs flag precedence.
internal/config/config.go validates diff_mode (all|staged|unstaged) and normalizes config.
Affected files
README.md, LICENSE, cmd/root.go, internal/config/config.go, internal/ui/interactive.go, internal/ui/renderer.go, internal/ui/theme.go
Contributors
You can’t perform that action at this time.