You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A startup form of F (filter_unreviewed), to match every other view toggle:
--filter-unreviewed flag
REVDIFF_FILTER_UNREVIEWED env var
Why
filter_unreviewed is the only toggle in the keymap without one. Every other view state can be chosen before the TUI opens:
key
action
startup form
v
toggle_collapsed
--collapsed
C
toggle_compact
--compact
w
toggle_wrap
--wrap
t
toggle_tree
--no-tree
L
toggle_line_numbers
--line-numbers
B
toggle_blame
--blame
W
toggle_word_diff
--word-diff
u
toggle_untracked
--untracked
F
filter_unreviewed
—
This matters for me because revdiff is opened by a script, not by hand: a PR review starts from an agent that runs revdiff in a terminal overlay with the flags for that review. I can put the whole view in that command except this one, so every review starts by pressing F myself.
Typing the key into the terminal after launch is not a fix — it races the TUI's startup and can land in whatever is on screen at that moment.
With --reviewed <file> preloading the marks and --filter-unreviewed starting filtered, a second pass over a large PR becomes one command that opens exactly what is left. Separately each is useful; the pair is what makes the resumed review automatic.
Activity
Add --filter-unreviewed (umputun#366)