8000 Use colorable to support Windows terminals; remove vendor/ directory by theckman · Pull Request #39 · theckman/yacspin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use colorable to support Windows terminals; remove vendor/ directory #39

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

Merged
merged 1 commit into from
Dec 11, 2021

Conversation

theckman
Copy link
Owner
@theckman theckman commented Dec 11, 2021

This change adds a direct dependency on github.com/mattn/go-colorable to
support Windows terminals, and removes the plumbing that hardcodes Windows as a
dumb terminal. This is inspired by #32 opened by @OtisOat.

This also removes the vendor/ directory, as it's even less valuable with our
usage of Modules.

Closes #32

@codecov
Copy link
codecov bot commented Dec 11, 2021

Codecov Report

Merging #39 (e5c32e2) into master (d44d3a2) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #39   +/-   ##
=======================================
  Coverage   94.51%   94.51%           
=======================================
  Files           2        2           
  Lines         529      529           
=======================================
  Hits          500      500           
  Misses         15       15           
  Partials       14       14           
Flag Coverage Δ
unittests 94.51% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
spinner.go 94.34% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d44d3a2...e5c32e2. Read the comment docs.

This change adds a direct dependency on `github.com/mattn/go-colorable` to
support Windows terminals, and removes the plumbing that hardcodes Windows as a
dumb terminal. This is inspired by #32 opened by @OtisOat.

This also removes the `vendor/` directory, as it's even less valuable with our
usage of Modules.

Closes #32
@theckman theckman changed the title Use colorable to support Windows terminals Use colorable to support Windows terminals; remove vendor/ directory Dec 11, 2021
@theckman theckman merged commit 50549a0 into master Dec 11, 2021
@theckman theckman deleted the windows_colors branch December 11, 2021 06:21
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.

1 participant
0