issues Search Results · repo:fatih/color language:Go
Filter by
105 results
(83 ms)105 results
infatih/color (press backspace or delete to remove)When the program is running as Windows system services, the os.stdout is nil. which results in a panic.
panic: nil passed instead of *os.File to NewColorable()
goroutine 1 [running]:
github.com/mattn/go-colorable.NewColorable(0x0) ...
chenjie4255
- Opened 28 days ago
- #250
It would be usefull to print line ended by symbol new line \n , color.New(...).SprintfFunc() creates obj that can color
string, but if string ends by new line symbol there is double new line symbols. Thx ...
Xxproner
- Opened on Oct 3, 2024
- #241
It seems the library doesn t work well with text/tabwriter.
image
I created a tabwriter like this:
w := tabwriter.NewWriter(os.Stdout, 0, 0, 2, , tabwriter.Debug)
Created the strings with colors ...
iblancasa
- 2
- Opened on Oct 2, 2024
- #240
Running https://github.com/HxX2/todocli . On my local machine, it works fine. Over SSH, completed items do not appear
crossed out.
I tried setting TERM to tmux-256color and xterm-256color.
Tested on ...
yonas
- Opened on Sep 16, 2024
- #239
berni2288
- 1
- Opened on Sep 10, 2024
- #238
Currently, this package does not works when run command go test.
Such as t.Errorf( error message ) will not print colored text content.
A bypass solution:
First, color.NoColor = false is a must to config. ...
92hackers
- 1
- Opened on Jun 18, 2024
- #234
Consider the following code:
package main
import (
fmt
github.com/fatih/color
)
func main() {
a := color.New(color.FgRed).SprintFunc()( aaa )
b := color.New(color.FgBlue).SprintFunc()( bbb ...
nobe4
- Opened on Jun 11, 2024
- #233
SetWriter and UnsetWriter on Color are not symmetric when it comes to the autodetection of support: this has created an
issue that was difficult to understand in code i have been working on.
Namely, SetWriter ...
ataypamart
- 1
- Opened on Apr 27, 2024
- #230
Does color support coloring docker s container console?
Using something like this color.Green( Database Connected! ), colors the output on window s terminal, but not docker s.
image
Must I do something ...
RampantDespair
- 2
- Opened on Apr 21, 2024
- #229
HI , I was trying to implement the same but for graphics https://github.com/rudransh61/traphix And i found your project
so can we implement something similar to draw a square or a rectangle of some width ...
rudransh61
- 1
- Opened on Mar 2, 2024
- #223

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.