Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for dumb (0.02 sec)

  1. internal/color/color.go

    package color
    
    import (
    	"fmt"
    
    	"github.com/fatih/color"
    )
    
    // global colors.
    var (
    	// Check if we stderr, stdout are dumb terminals, we do not apply
    	// ansi coloring on dumb terminals.
    	IsTerminal = func() bool {
    		return !color.NoColor
    	}
    
    	Bold = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-05-01 17:57
    - 3.8K bytes
    - Viewed (0)
  2. istioctl/pkg/util/formatting/formatter.go

    	YAMLFormat = "yaml"
    )
    
    var (
    	MsgOutputFormatKeys = []string{LogFormat, JSONFormat, YAMLFormat}
    	MsgOutputFormats    = make(map[string]bool)
    	termEnvVar          = env.Register("TERM", "", "Specifies terminal type.  Use 'dumb' to suppress color output")
    )
    
    func init() {
    	for _, key := range MsgOutputFormatKeys {
    		MsgOutputFormats[key] = true
    	}
    }
    
    // Print output messages in the specified format with color options
    Registered: 2025-05-28 22:53
    - Last Modified: 2023-07-11 02:41
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ConverterTest.java

        SerializableTester.reserializeAndAssert(composedConverter);
      }
    
      public void testSerialization_from() {
        Converter<String, String> dumb = Converter.from(toStringFunction(), toStringFunction());
        SerializableTester.reserializeAndAssert(dumb);
      }
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 8.2K bytes
    - Viewed (0)
  4. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    Most properties should have a convention set, so (1) can be treated as a rare case where a value must be provided by a user.
    
    Registered: 2025-05-28 11:36
    - Last Modified: 2024-10-15 20:00
    - 10K bytes
    - Viewed (0)
  5. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().BoolVar(&colorize, "color", formatting.IstioctlColorDefault(analysisCmd.OutOrStdout()),
    		"Default true.  Disable with '=false' or set $TERM to dumb")
    	analysisCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false,
    		"Enable verbose output")
    	analysisCmd.PersistentFlags().Var(&failureThreshold, "failure-threshold",
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-03-03 16:51
    - 18.9K bytes
    - Viewed (0)
  6. cmd/common-main.go

    )
    
    func init() {
    	if !term.IsTerminal(int(os.Stdout.Fd())) || !term.IsTerminal(int(os.Stderr.Fd())) {
    		color.TurnOff()
    	}
    	if env.Get("NO_COLOR", "") != "" || env.Get("TERM", "") == "dumb" {
    		color.TurnOff()
    	}
    
    	if runtime.GOOS == "windows" {
    		if mousetrap.StartedByExplorer() {
    			fmt.Printf("Don't double-click %s\n", os.Args[0])
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-21 16:23
    - 32.5K bytes
    - Viewed (0)
  7. cmd/api-response.go

    	listPartsResponse.Key = s3EncodeName(partsInfo.Object, encodingType)
    	listPartsResponse.UploadID = partsInfo.UploadID
    	listPartsResponse.StorageClass = globalMinioDefaultStorageClass
    
    	// Dumb values not meaningful
    	listPartsResponse.Initiator = Initiator{
    		ID:          globalMinioDefaultOwnerID,
    		DisplayName: globalMinioDefaultOwnerID,
    	}
    	listPartsResponse.Owner = Owner{
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-02-18 16:25
    - 33.7K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.4.md

        * inherit the environment from the primary process, so if the container was created with tty=false,that means the exec session's TERM variable will default to "dumb". Users can override this by setting TERM=xterm (or whatever is appropriate) to get the correct "smart" terminal behavior.
    Registered: 2025-05-30 09:05
    - Last Modified: 2020-12-24 02:28
    - 133.5K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

    John Howard <******@****.***> 1737284935 -0800
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-01-19 11:08
    - 33.6K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/ecds.go

    	if c.configDump == nil {
    		return nil, fmt.Errorf("config writer has not been primed")
    	}
    
    	dump, err := c.configDump.GetEcdsConfigDump()
    	if err != nil {
    		return nil, err
    	}
    
    	ecds := make([]*core.TypedExtensionConfig, 0, len(dump.EcdsFilters))
    	for _, config := range dump.GetEcdsFilters() {
    		c := &core.TypedExtensionConfig{}
    		err := config.GetEcdsFilter().UnmarshalTo(c)
    		if err != nil {
    Registered: 2025-05-28 22:53
    - Last Modified: 2023-01-14 02:41
    - 2.6K bytes
    - Viewed (0)
Back to top