Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BgRed (0.07 sec)

  1. internal/color/color.go

    	FgRed = func() func(a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed).SprintFunc()
    		}
    		return fmt.Sprint
    	}()
    
    	BgRed = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.BgRed).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	FgWhite = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. internal/logger/console.go

    	ExitFunc(1)
    }
    
    func (f fatalMsg) quiet(msg string, args ...interface{}) {
    	f.pretty(msg, args...)
    }
    
    var (
    	logTag      = "FATAL"
    	logBanner   = color.BgRed(color.FgWhite(color.Bold(logTag))) + " "
    	emptyBanner = color.BgRed(strings.Repeat(" ", len(logTag))) + " "
    	bannerWidth = len(logTag) + 1
    )
    
    func (f fatalMsg) pretty(msg string, args ...interface{}) {
    	// Build the passed error message
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        }
    
        public Ansi bgGreen() {
            return this.bg(Color.GREEN);
        }
    
        public Ansi bgMagenta() {
            return this.bg(Color.MAGENTA);
        }
    
        public Ansi bgRed() {
            return this.bg(Color.RED);
        }
    
        public Ansi bgYellow() {
            return this.bg(Color.YELLOW);
        }
    
        public Ansi fgBright(Color color) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top