Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isColorEnabled (0.08 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assumeTrue(MessageUtils.isColorEnabled(), "ANSI not supported");
            CliRequest request;
    
            MessageUtils.setColorEnabled(true);
            request = new CliRequest(new String[] {"-B"}, null);
            cli.cli(request);
            cli.properties(request);
            cli.logging(request);
            assertFalse(MessageUtils.isColorEnabled());
    
            MessageUtils.setColorEnabled(true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            }
            if (context.invokerRequest.options().verbose().orElse(false)) {
                logger.debug("Message scheme: " + (MessageUtils.isColorEnabled() ? "color" : "plain"));
                if (MessageUtils.isColorEnabled()) {
                    MessageBuilder buff = MessageUtils.builder();
                    buff.a("Message styles: ");
                    buff.trace("trace").a(' ');
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        }
    
        @FunctionalInterface
        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() {
    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