Skip to content

wrong format when copying the progress output as plain text #1166

@qweeah

Description

@qweeah

As an ORAS user, I should be able to copy the progress output as plain text in the format as what I saw in the terminal.

When copying below output
image

What I got:

test oras-main pull localhost:5000/test:config -o pulled --config my.config
√ Downloaded  my.config                                                                                                                                                                       3/3  B 100.00%  441µs  └─ sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae 
√ Downloaded  foo                                                                                                                                                                             3/3  B 100.00%  287µs  └─ sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae 
√ Downloaded  application/vnd.oci.image.manifest.v1+json                                                                                                                                  522/522  B 100.00%  267µs  └─ sha256:007fa1a84c35baf14b14698b8f2f4b3eb99200b496be446e6ea6c478029d75b9 
Pulled [registry] localhost:5000/test:config
Digest: sha256:007fa1a84c35baf14b14698b8f2f4b3eb99200b496be446e6ea6c478029d75b9

What I want:

test oras-main pull localhost:5000/test:config -o pulled --config my.config
√ Downloaded  my.config                                                                                                                                                                       3/3  B 100.00%  441µs
  └─ sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae 
√ Downloaded  foo                                                                                                                                                                             3/3  B 100.00%  287µs
  └─ sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae 
√ Downloaded  application/vnd.oci.image.manifest.v1+json                                                                                                                                  522/522  B 100.00%  267µs
  └─ sha256:007fa1a84c35baf14b14698b8f2f4b3eb99200b496be446e6ea6c478029d75b9 
Pulled [registry] localhost:5000/test:config
Digest: sha256:007fa1a84c35baf14b14698b8f2f4b3eb99200b496be446e6ea6c478029d75b9

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestuxUser experience related

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions