mirror of
https://github.com/marcusDenslow/FERRUM.git
synced 2026-10-25 12:22:24 +01:00
- Add comprehensive diff_viewer module with split-panel interface
- Replace simple `git diff` in `gg d` command with interactive viewer
- Implement two-mode navigation system:
* File list mode: navigate files with j/k, Enter to view
* Content mode: scroll diff content with j/k, ESC to return
- Support both tracked and untracked file diffs with proper handling
- Add color-coded diff display (green additions, red deletions)
- Include terminal raw mode handling for responsive keyboard input
- Add test files for diff viewer functionality
7 lines
94 B
Plaintext
7 lines
94 B
Plaintext
// New test file
|
|
#include <stdio.h>
|
|
int main() {
|
|
printf("Hello world\n");
|
|
return 0;
|
|
}
|