Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for Ansi (0.12 sec)

  1. maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        public interface Consumer {
            void apply(Ansi ansi);
        }
    
        public static boolean isEnabled() {
            return org.apache.maven.jline.MessageUtils.isColorEnabled() && org.jline.jansi.Ansi.isEnabled();
        }
    
        public static void setEnabled(final boolean flag) {
            org.jline.jansi.Ansi.setEnabled(flag);
        }
    
        public static Ansi ansi() {
            if (isEnabled()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultColorMap.java

            private final Ansi.Color ansiColor;
    
            public BrightForegroundColor(Ansi.Color ansiColor) {
                this.ansiColor = ansiColor;
            }
    
            @Override
            public void on(Ansi ansi) {
                ansi.fgBright(ansiColor);
            }
    
            @Override
            public void off(Ansi ansi) {
                ansi.fg(DEFAULT);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/console/AbstractConsoleGroupedTaskFunctionalTest.groovy

        protected StyledOutput styled(Ansi.Color color, Ansi.Attribute attribute) {
            return new StyledOutput(null, color, attribute)
        }
    
        protected StyledOutput styled(Ansi.Attribute attribute) {
            return new StyledOutput(null, null, attribute)
        }
    
        class StyledOutput {
            final String plainOutput
            final String styledOutput
            private final Ansi.Color color
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-string.h

      //
      // The wide string is created using the ANSI codepage (CP_ACP) to
      // match the behaviour of the ANSI versions of Win32 calls and the
      // C runtime.
      static LPCWSTR AnsiToUtf16(const char* c_str);
    
      // Creates an ANSI string from the given wide string, allocating
      // memory using new. The caller is responsible for deleting the return
      // value using delete[]. Returns the ANSI string, or NULL if the
      // input is NULL.
      //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/LogContent.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableList.Builder;
    import net.rubygrapefruit.ansi.AnsiParser;
    import net.rubygrapefruit.ansi.console.AnsiConsole;
    import net.rubygrapefruit.ansi.console.DiagnosticConsole;
    import net.rubygrapefruit.ansi.token.NewLine;
    import net.rubygrapefruit.ansi.token.Text;
    import org.gradle.api.Action;
    import org.gradle.api.UncheckedIOException;
    import org.gradle.internal.Pair;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/package-lock.json

          "engines": {
            "node": ">=10"
          },
          "funding": {
            "url": "https://github.com/chalk/slice-ansi?sponsor=1"
          }
        },
        "node_modules/slice-ansi/node_modules/ansi-styles": {
          "version": "4.3.0",
          "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
          "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 156K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

         */
        String getNormalizedOutput();
    
        /**
         * Stdout of the Gradle execution, with ANSI characters interpreted and text attributes rendered as plain text.
         */
        String getFormattedOutput();
    
        /**
         * Stdout of the Gradle execution, with ANSI characters interpreted and text attributes discarded.
         */
        String getPlainTextOutput();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. cmd/update-notifier.go

    func colorizeUpdateMessage(updateString string, newerThan string) string {
    	msgLine1Fmt := " You are running an older version of MinIO released %s "
    	msgLine2Fmt := " Update: %s "
    
    	// Calculate length *without* color coding: with ANSI terminal
    	// color characters, the result is incorrect.
    	line1Length := len(fmt.Sprintf(msgLine1Fmt, newerThan))
    	line2Length := len(fmt.Sprintf(msgLine2Fmt, updateString))
    
    	// Populate lines with color coding.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/crypto/aes/block.go

    // license that can be found in the LICENSE file.
    
    // This Go implementation is derived in part from the reference
    // ANSI C implementation, which carries the following notice:
    //
    //	rijndael-alg-fst.c
    //
    //	@version 3.0 (December 2000)
    //
    //	Optimised ANSI C code for the Rijndael cipher (now AES)
    //
    //	@author Vincent Rijmen <******@****.***>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. 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() {
    			return color.New(color.Bold).SprintfFunc()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top