1
0
mirror of https://github.com/fatih/color.git synced 2024-11-24 08:02:14 +02:00
Commit Graph

243 Commits

Author SHA1 Message Date
Fatih Arslan
1c8d870660
Update README.md
The TODO items don't make any sense anymore
2024-10-03 10:06:28 +03:00
Fatih Arslan
546c2d0f9a
Merge pull request #225 from fatih/add-rgb-api
Add RGB API support
2024-10-03 10:03:15 +03:00
Fatih Arslan
1ff0f97908 Apply suggestions from code review
Co-authored-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
2024-10-03 10:00:15 +03:00
Fatih Arslan
5723903daa Add RGB API support
Signed-off-by: Fatih Arslan <ftharsln@gmail.com>
2024-10-03 10:00:13 +03:00
Fatih Arslan
f203fbcecb
Merge pull request #237 from fatih/dependabot/go_modules/golang.org/x/sys-0.25.0
Bump golang.org/x/sys from 0.24.0 to 0.25.0
2024-10-03 09:58:20 +03:00
dependabot[bot]
60aa7fb483
Bump golang.org/x/sys from 0.24.0 to 0.25.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/sys/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 01:40:21 +00:00
Fatih Arslan
741c2f4087
Merge pull request #236 from fatih/dependabot/go_modules/golang.org/x/sys-0.24.0
Bump golang.org/x/sys from 0.18.0 to 0.24.0
2024-08-15 09:28:33 +03:00
dependabot[bot]
0d24b42a27
Bump golang.org/x/sys from 0.18.0 to 0.24.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.18.0 to 0.24.0.
- [Commits](https://github.com/golang/sys/compare/v0.18.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-15 06:27:26 +00:00
Fatih Arslan
cb154c0218
Merge pull request #235 from deining/fix-typo
Bump GitHub workflow actions
2024-08-15 09:26:24 +03:00
Andreas Deininger
9b9653e8ce Bump GitHub workflow actions 2024-08-14 22:47:40 +02:00
Fatih Arslan
b6598b12a6
Merge pull request #228 from klauspost/fix-println-issue-218
Fix multi-parameter println spacing
2024-04-08 15:08:58 +03:00
Klaus Post
00b1811a3d
Fix multi-parameter println spacing
`fmt.Println` will add spaces between elements when there is multiple parameters sent.

When wrapping the colors parameters were combined using `fmt.Sprint(a...)` - which does not space out parameters.

Use `fmt.Sprintln` to combine parameters.

Fixes #218
2024-04-08 13:10:58 +02:00
Fatih Arslan
04994a819d
Merge pull request #224 from fatih/dependabot/go_modules/golang.org/x/sys-0.18.0
Bump golang.org/x/sys from 0.17.0 to 0.18.0
2024-03-09 09:52:53 +03:00
Fatih Arslan
7526cad07e
Merge branch 'main' into dependabot/go_modules/golang.org/x/sys-0.18.0 2024-03-09 09:52:05 +03:00
Fatih Arslan
8d058ca54c
Merge pull request #222 from fatih/ci-updates
ci: update Go and Staticcheck versions
2024-03-09 09:51:08 +03:00
dependabot[bot]
2ac809fb73
Bump golang.org/x/sys from 0.17.0 to 0.18.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sys/compare/v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-05 01:41:57 +00:00
Fatih Arslan
51a7bbf7dc ci: update Go and Staticcheck versions
Signed-off-by: Fatih Arslan <ftharsln@gmail.com>
2024-02-22 16:39:26 +03:00
Fatih Arslan
799c49c639
Merge pull request #217 from fatih/dependabot/github_actions/actions/setup-go-5
Bump actions/setup-go from 4 to 5
2024-02-22 10:39:28 +03:00
Fatih Arslan
f8e0ec9c97
Merge branch 'main' into dependabot/github_actions/actions/setup-go-5 2024-02-08 11:05:59 +03:00
Fatih Arslan
298abd8b9e
Merge pull request #221 from fatih/dependabot/go_modules/golang.org/x/sys-0.17.0
Bump golang.org/x/sys from 0.14.0 to 0.17.0
2024-02-08 11:05:35 +03:00
dependabot[bot]
8b6a8411a7
Bump golang.org/x/sys from 0.14.0 to 0.17.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/sys/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 01:11:15 +00:00
dependabot[bot]
02cdf82254
Bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 01:19:24 +00:00
Fatih Arslan
0f9779ed47
Merge pull request #213 from fatih/dependabot/go_modules/golang.org/x/sys-0.14.0
Bump golang.org/x/sys from 0.13.0 to 0.14.0
2023-11-06 11:25:55 +03:00
dependabot[bot]
0c78604296
Bump golang.org/x/sys from 0.13.0 to 0.14.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/sys/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 01:23:30 +00:00
Fatih Arslan
96e0f73dae
Merge pull request #208 from fatih/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-10-18 10:57:09 +03:00
dependabot[bot]
4c66e32708
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 07:54:40 +00:00
Fatih Arslan
2fb03d682e
Merge pull request #202 from fatih/dependabot/github_actions/actions/setup-go-4
Bump actions/setup-go from 3 to 4
2023-10-18 10:53:58 +03:00
dependabot[bot]
8ba7bbdda9
Bump actions/setup-go from 3 to 4
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 07:47:56 +00:00
Fatih Arslan
e3f97f3408
Merge pull request #209 from fatih/dependabot/go_modules/golang.org/x/sys-0.13.0
Bump golang.org/x/sys from 0.10.0 to 0.13.0
2023-10-18 10:43:33 +03:00
dependabot[bot]
e146575883
Bump golang.org/x/sys from 0.10.0 to 0.13.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.10.0 to 0.13.0.
- [Commits](https://github.com/golang/sys/compare/v0.10.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 07:37:58 +00:00
Fatih Arslan
d2d7a5e448
Merge pull request #212 from fatih/dependabot/go_modules/github.com/mattn/go-isatty-0.0.20
Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20
2023-10-18 10:37:16 +03:00
Fatih Arslan
f3e45da2c8
Merge branch 'main' into dependabot/go_modules/github.com/mattn/go-isatty-0.0.20 2023-10-18 10:17:27 +03:00
Fatih Arslan
1c78dedd6a
Merge pull request #210 from gregpoirson/main
fixes #206
2023-10-18 10:16:48 +03:00
Fatih Arslan
b5f9b4c560
Apply suggestions from code review 2023-10-18 10:07:36 +03:00
dependabot[bot]
3c00bfda13
Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.19 to 0.0.20.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.19...v0.0.20)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 01:29:47 +00:00
Greg Poirson
b756d513ef deleting manual workflow 2023-10-17 21:52:56 -03:00
greg
9f44e28c01
Create manual.yml
manual build workflow
2023-10-17 21:42:34 -03:00
Greg Poirson
db0d19c324 escape sequences instead of unicode ctrl char #206 2023-10-17 21:25:24 -03:00
Greg Poirson
641fc85af5 fixes #206 2023-10-16 21:27:30 -03:00
Greg Poirson
c211ac1e43 renaming the Reset names 2023-10-16 21:11:05 -03:00
greg
c949fee4aa
Update color.go
Update color.go, following Fatih's suggestion

Co-authored-by: Fatih Arslan <ftharsln@gmail.com>
2023-10-16 20:59:19 -03:00
Greg Poirson
c33f29cd0e fixes #206 2023-10-13 19:30:42 -03:00
Fatih Arslan
d5c210ca2a
Merge pull request #203 from hyunsooda/nilcheck-added
[Test] Nil check added
2023-07-18 16:59:41 +03:00
Hyunsoo Shin
0a87ecc21b [Test] Nil check added 2023-07-18 22:49:57 +09:00
Fatih Arslan
6de85811bf
Merge pull request #201 from fatih/dependabot/github_actions/dominikh/staticcheck-action-1.3.0
Bump dominikh/staticcheck-action from 1.2.0 to 1.3.0
2023-07-12 10:20:33 +03:00
Fatih Arslan
f78dc5c6e4
Merge branch 'main' into dependabot/github_actions/dominikh/staticcheck-action-1.3.0 2023-07-12 10:18:21 +03:00
Fatih Arslan
73fdd8cb09
Merge pull request #192 from fatih/new-line-fix
color: add newline after wrapping text
2023-07-11 20:21:04 +03:00
dependabot[bot]
37d95f2a9e
Bump dominikh/staticcheck-action from 1.2.0 to 1.3.0
Bumps [dominikh/staticcheck-action](https://github.com/dominikh/staticcheck-action) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/dominikh/staticcheck-action/releases)
- [Changelog](https://github.com/dominikh/staticcheck-action/blob/master/CHANGES.md)
- [Commits](https://github.com/dominikh/staticcheck-action/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: dominikh/staticcheck-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 17:19:16 +00:00
Fatih Arslan
dffd300330
Merge branch 'main' into new-line-fix 2023-07-11 20:19:09 +03:00
Fatih Arslan
9e983074ab
Merge pull request #200 from ilyabrin/patch-1
Update dependabot.yml
2023-07-11 20:18:56 +03:00