Name clipboard types and sizes in the confirmation #28
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wayfinder:map
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
jeff/harrier#28
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Part of #23
The Confirmation for Clipboard access shows a question and, for a write, up to three rows of the text being written. It knows nothing of Clipboard types.
What done looks like
image/png, 1.2 MiB. When text is among them, the text preview is shown as today.locales/en-US.ftl.Confirmation.zigunit tests cover a multi-type write and a non-text read.Image previews are a separate issue.
Done in
04ca104. A write that includes something other than text shows a dimmed row such asimage/png (1.0 MiB) · text/plain (5 B)between the question and the text preview. A read shows the types it asks for. Text-only writes and reads, and OSC 52, look as before.Confirmation.namesTypesandformatSizehave unit tests. The sway VM test saves the confirmation askitty-write-asked.pngbefore allowing the write.