WIP: Show image thumbnails side by side when comparing images #1
Loading…
Reference in a new issue
No description provided.
Delete branch "ai-agent/wip-image-thumbnails"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parking unfinished work so it is safe on the server while the agent testing harness lands first; this will be rebased onto it before continuing.
It shows the original and conflict images side by side in terminals that support kitty or sixel graphics, and includes a cargo-mutants pass that moved the event loop out of
main.rsand added unit tests.Not ready to merge. The extracted loop draws only after the first key, so the screen starts blank and lags one key. If the terminal never answers the image probe, the keyboard stops responding.
mutants.out/artifacts are committed.Logic flow
Superseded by #7, which landed the side-by-side image comparison this PR was heading for, rebuilt on top of the current event loop and fixture tests. Two notes for the record: the terminal query behind its thumbnails (Picker::from_query_stdio) could freeze the keyboard by blocking on stdin, and #7 avoids it entirely by drawing thumbnails as half-block characters - which also makes them snapshot-testable.
Pull request closed