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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Hyunsoo Shin 
							
						 
					 
					
						
						
							
						
						0a87ecc21b 
					 
					
						
						
							
							[Test] Nil check added  
						
						
						
						
					 
					
						2023-07-18 22:49:57 +09:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						a2983f4b63 
					 
					
						
						
							
							color: add newline after wrapping text  
						
						... 
						
						
						
						The newline should be added after wrapping the input with escape
sequences. That way `less` or other commands can parse the output
correctly.
fixes https://github.com/fatih/color/issues/157  
						
						
					 
					
						2023-03-12 20:10:19 +03:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						7310c74aae 
					 
					
						
						
							
							color: expose SetWriter and UnsetWriter  
						
						... 
						
						
						
						For some users performance is very important and hence having access to
the underlying writer functions allow them to use bytes buffer and avoid
string allocations.
closes https://github.com/fatih/color/issues/124  
						
						
					 
					
						2023-01-22 22:27:42 +03:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						5d7e63e588 
					 
					
						
						
							
							Merge branch 'main' into no-color-empty-val  
						
						
						
						
					 
					
						2023-01-18 18:38:26 +01:00 
						 
				 
			
				
					
						
							
							
								Maximilian 
							
						 
					 
					
						
						
							
						
						9cca0a3f2e 
					 
					
						
						
							
							Spelling and grammar fixes  
						
						
						
						
					 
					
						2023-01-18 08:28:24 -06:00 
						 
				 
			
				
					
						
							
							
								Robert Pająk 
							
						 
					 
					
						
						
							
						
						8e3ccd4921 
					 
					
						
						
							
							NO_COLOR requires a non-empty string  
						
						
						
						
					 
					
						2022-11-13 10:58:32 +01:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						d22b618612 
					 
					
						
						
							
							Fix staticcheck warnings  
						
						
						
						
					 
					
						2021-12-16 11:00:24 +03:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						f08ed43f5e 
					 
					
						
						
							
							Add NO_COLOR support to disable color output  
						
						... 
						
						
						
						This PR adds support for the enviroment variable `NO_COLOR`. If set
(regardless of its value), the `colors` package disables color output.
For more information about this environment variable please checkout
this website: https://no-color.org 
closes: https://github.com/fatih/color/issues/136  
						
						
					 
					
						2021-05-13 22:29:58 +03:00 
						 
				 
			
				
					
						
							
							
								bl-ue 
							
						 
					 
					
						
						
							
						
						2b6d40c184 
					 
					
						
						
							
							Fix typo  
						
						... 
						
						
						
						setted -> set 
						
						
					 
					
						2020-12-19 08:13:35 -05:00 
						 
				 
			
				
					
						
							
							
								Achilleas Koutsou 
							
						 
					 
					
						
						
							
						
						fccafd9e87 
					 
					
						
						
							
							Expose colorable Stderr to use as writer  
						
						
						
						
					 
					
						2017-12-01 18:21:40 +01:00 
						 
				 
			
				
					
						
							
							
								Edward Betts 
							
						 
					 
					
						
						
							
						
						15a760a2b2 
					 
					
						
						
							
							correct spelling mistake  
						
						
						
						
					 
					
						2017-09-01 12:33:55 +01:00 
						 
				 
			
				
					
						
							
							
								Linda_pp 
							
						 
					 
					
						
						
							
						
						570b54cabe 
					 
					
						
						
							
							Add Hi* helpers for hi-intensity colors ( #68 )  
						
						... 
						
						
						
						* Add Hi* helpers for hi-intensity colors 
						
						
					 
					
						2017-05-23 16:53:55 +03:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						11bf3cb1d0 
					 
					
						
						
							
							Fix coloring on cygwin/msys2 shell  
						
						... 
						
						
						
						Closes  #57  
					
						2017-02-17 12:24:42 +03:00 
						 
				 
			
				
					
						
							
							
								Erik Hollensbe 
							
						 
					 
					
						
						
							
						
						cd9740438a 
					 
					
						
						
							
							Add direct Sprintf support  
						
						... 
						
						
						
						Signed-off-by: Erik Hollensbe <github@hollensbe.org > 
						
						
					 
					
						2017-02-07 09:42:30 -08:00 
						 
				 
			
				
					
						
							
							
								Ahmet Alp Balkan 
							
						 
					 
					
						
						
							
						
						9b06c57aba 
					 
					
						
						
							
							Fix typo in godoc comments  
						
						
						
						
					 
					
						2017-01-06 14:09:02 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						80fdc4010e 
					 
					
						
						
							
							Add Fprint style functions  
						
						... 
						
						
						
						* Add Fprint, Fprintf and Fprintln functions
* Add FprintFunc, FprintfFunc and FprintlnFunc functions
* Improved readability of code base
* Updated the docs 
						
						
					 
					
						2017-01-03 18:58:49 +03:00 
						 
				 
			
				
					
						
							
							
								robnagler 
							
						 
					 
					
						
						
							
						
						b4c0dee8ac 
					 
					
						
						
							
							set NoColor for "dumb" $TERMinals  
						
						
						
						
					 
					
						2016-12-28 13:37:05 -07:00 
						 
				 
			
				
					
						
							
							
								bogem 
							
						 
					 
					
						
						
							
						
						17e3126eb2 
					 
					
						
						
							
							Rename printColor and printString to colorPrint and colorString  
						
						
						
						
					 
					
						2016-10-19 09:28:39 +02:00 
						 
				 
			
				
					
						
							
							
								bogem 
							
						 
					 
					
						
						
							
						
						f76ca79581 
					 
					
						
						
							
							Use print functions if there is no format  
						
						
						
						
					 
					
						2016-10-19 09:24:27 +02:00 
						 
				 
			
				
					
						
							
							
								Albert 
							
						 
					 
					
						
						
							
						
						a360acfe35 
					 
					
						
						
							
							Use color cache map ( #43 )  
						
						... 
						
						
						
						* Use color cache map 
						
						
					 
					
						2016-10-18 23:13:48 +03:00 
						 
				 
			
				
					
						
							
							
								Cameron Moore 
							
						 
					 
					
						
						
							
						
						0016e26890 
					 
					
						
						
							
							Properly handle single arg calls to helper funcs ( #40 )  
						
						... 
						
						
						
						* Properly handle single arg calls to helper funcs 
						
						
					 
					
						2016-09-27 18:48:50 +03:00 
						 
				 
			
				
					
						
							
							
								Yasuhiro Matsumoto 
							
						 
					 
					
						
						
							
						
						b62857eae3 
					 
					
						
						
							
							support 256 color  
						
						
						
						
					 
					
						2015-11-10 15:59:29 +09:00 
						 
				 
			
				
					
						
							
							
								Alex Guerrieri 
							
						 
					 
					
						
						
							
						
						aa04f74371 
					 
					
						
						
							
							Added high intensity colours  
						
						
						
						
					 
					
						2015-10-26 09:54:07 +01:00 
						 
				 
			
				
					
						
							
							
								Andrew Austin 
							
						 
					 
					
						
						
							
						
						4fb3d84ad3 
					 
					
						
						
							
							color: add Equals() method to compare two colors  
						
						
						
						
					 
					
						2015-08-23 17:34:52 -04:00 
						 
				 
			
				
					
						
							
							
								Leo Correa 
							
						 
					 
					
						
						
							
						
						52aa0a6497 
					 
					
						
						
							
							Fix typo on fmt.Ffprintf -> fmt.Fprintf  
						
						
						
						
					 
					
						2015-08-04 00:13:22 -04:00 
						 
				 
			
				
					
						
							
							
								zdd 
							
						 
					 
					
						
						
							
						
						7dccdc418d 
					 
					
						
						
							
							color: use go-isatty package to support more platform  
						
						
						
						
					 
					
						2015-07-24 20:58:23 +08:00 
						 
				 
			
				
					
						
							
							
								zdd 
							
						 
					 
					
						
						
							
						
						9d282f22ae 
					 
					
						
						
							
							color: only show color in stdout  
						
						
						
						
					 
					
						2015-07-24 08:40:27 +08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						1b35f289c4 
					 
					
						
						
							
							color: fix golint warnings  
						
						
						
						
					 
					
						2015-05-11 01:06:52 +03:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						b82cd6d93d 
					 
					
						
						
							
							color: export back color.Set(),  fixes   #13  
						
						
						
						
					 
					
						2015-05-04 21:28:38 +03:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						95e7214071 
					 
					
						
						
							
							color: add helper function for bool pointer  
						
						
						
						
					 
					
						2015-04-22 11:13:04 +03:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						85fc70c416 
					 
					
						
						
							
							color: add NoColor option, both on global and local scope  
						
						
						
						
					 
					
						2015-04-22 11:06:21 +03:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						969c0f0b28 
					 
					
						
						
							
							color: add Windows support via ansicolor  
						
						
						
						
					 
					
						2015-03-12 14:00:06 +02:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						36f10a0700 
					 
					
						
						
							
							Fix Readme.md, add colorstring helper functions  
						
						
						
						
					 
					
						2014-02-24 10:01:46 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						05210eb369 
					 
					
						
						
							
							Implement SprintXxx functions  
						
						
						
						
					 
					
						2014-02-18 03:18:22 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						c297f2223f 
					 
					
						
						
							
							Add PrintFunc.. functions and update readme.md  
						
						
						
						
					 
					
						2014-02-18 02:52:23 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						abda2caec3 
					 
					
						
						
							
							Typo fixes and doc improvements.  
						
						
						
						
					 
					
						2014-02-18 01:01:28 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						7da2493d6e 
					 
					
						
						
							
							Add doc.go to show examples in godoc.  
						
						
						
						
					 
					
						2014-02-18 00:38:51 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						74148fd1e2 
					 
					
						
						
							
							Add docs  
						
						
						
						
					 
					
						2014-02-18 00:25:33 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						ca40f52e4f 
					 
					
						
						
							
							Add Set() and Unset()  
						
						
						
						
					 
					
						2014-02-18 00:20:24 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						7dabc71cda 
					 
					
						
						
							
							Api and readme improvements  
						
						
						
						
					 
					
						2014-02-17 23:50:55 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						6ba802d6b6 
					 
					
						
						
							
							Add helper Color functions  
						
						
						
						
					 
					
						2014-02-17 23:46:20 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						57ae7cd7bc 
					 
					
						
						
							
							More fixes and API changes.  
						
						
						
						
					 
					
						2014-02-17 23:39:09 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						ae1bfdea97 
					 
					
						
						
							
							Add a useful test  
						
						
						
						
					 
					
						2014-02-17 23:25:12 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						823f4ed20f 
					 
					
						
						
							
							Updates and cosmetic changes.  
						
						
						
						
					 
					
						2014-02-17 01:47:15 -08:00 
						 
				 
			
				
					
						
							
							
								Fatih Arslan 
							
						 
					 
					
						
						
							
						
						636dfd47b1 
					 
					
						
						
							
							Initial commit, WIP  
						
						
						
						
					 
					
						2014-02-17 01:12:32 -08:00