mirror of
				https://github.com/beego/bee.git
				synced 2025-10-31 12:33:21 +00:00 
			
		
		
		
	Bold message should be end with all attributes off(\x1b[0m)
This commit is contained in:
		| @@ -54,7 +54,7 @@ func NewModeColorWriter(w io.Writer, mode outputMode) io.Writer { | ||||
| } | ||||
|  | ||||
| func Bold(message string) string { | ||||
| 	return fmt.Sprintf("\x1b[1m%s\x1b[21m", message) | ||||
| 	return fmt.Sprintf("\x1b[1m%s\x1b[0m", message) | ||||
| } | ||||
|  | ||||
| // Black returns a black string | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Geektree0101
					Geektree0101