Skip to main content

Module render

Module render 

Source
Expand description

Standalone helper functions for rendering / display.

These are pure functions (no &mut self) used by event_loop and the terminal UI to format tool arguments, parse diffs, etc.

Functionsยง

parse_apply_patch_input
Parse a V4A patch envelope from an apply_patch arguments JSON.
parse_v4a_patch
Pure parser for a V4A patch string.
preview_args
Produce a short preview of a JSON-encoded arguments string.
verb_for_tool
Pick a spinner verb based on the tool name.