feat: git sidebar shows the commit history in its lower half like the GUI (issue #30)

This commit is contained in:
2026-07-16 22:10:27 +02:00
parent 5433cb59ac
commit 46fd6c1b85
3 changed files with 69 additions and 17 deletions

View File

@@ -114,7 +114,9 @@ rule GitPanel {
when: TuiKeyPressed(code: "7")
-- "7" opens the git panel (issue #30) for content sync: the sidebar
-- lists the changed files from git status (code + path, branch with
-- ahead/behind counts in the title), the main area shows a
-- ahead/behind counts in the title) with the commit history in its
-- lower half, like the GUI (short hash + subject; ↑ marks commits
-- that still need a push, ↓ remote-only ones), the main area shows a
-- scrollable whole-folder diff (staged + unstaged, capped) paged
-- with pgup/pgdn; enter on a file jumps the diff to it. "c" opens a
-- status-line commit prompt (git add -A + commit, empty messages