Layout and display
Hunk uses the same normalized review model in every layout.
Pick a layout policy
Section titled “Pick a layout policy”hunk diff --mode autohunk diff --mode splithunk diff --mode stackautochooses split on wide terminals and stack on narrow ones.splitkeeps before and after columns side by side.stackshows changed rows in a single-width flow.
Explicit split and stack choices override responsive behavior. Press 0, 1, or 2 to switch while reviewing.
Tune code rows
Section titled “Tune code rows”hunk diff --no-line-numbers --wrap --no-hunk-headers --tab-width 2Paired flags let scripts express either state: --line-numbers / --no-line-numbers, --wrap / --no-wrap, and --hunk-headers / --no-hunk-headers. Tab width accepts an integer from 1 through 16.
Tune review chrome
Section titled “Tune review chrome”TOML settings cover persistent display details:
mode = "auto"line_numbers = truewrap_lines = falsehunk_headers = truemenu_bar = trueagent_notes = falsecopy_decorations = falsetransparent_background = falsetransparent_background lets the terminal paint Hunk surfaces; turn it off when exact theme surfaces matter more than matching terminal transparency.