Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ux): add newline to make TTY output copy friendly #1180

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

qweeah
Copy link
Contributor

@qweeah qweeah commented Nov 7, 2023

What this PR does / why we need it:
This PR makes the TTY output easier to copy.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1166

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
@codecov-commenter
Copy link

codecov-commenter commented Nov 7, 2023

Codecov Report

Merging #1180 (2cc868f) into main (92f9c8b) will increase coverage by 0.07%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##             main    #1180      +/-   ##
==========================================
+ Coverage   80.02%   80.10%   +0.07%     
==========================================
  Files          65       65              
  Lines        3560     3564       +4     
==========================================
+ Hits         2849     2855       +6     
+ Misses        495      493       -2     
  Partials      216      216              
Files Coverage Δ
cmd/oras/internal/display/console/console.go 91.42% <100.00%> (ø)
cmd/oras/internal/display/progress/status.go 95.23% <100.00%> (+0.15%) ⬆️

... and 1 file with indirect coverage changes

Copy link
Member

@TerryHowe TerryHowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@qweeah qweeah merged commit a16a3ad into oras-project:main Nov 8, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wrong format when copying the progress output as plain text
3 participants