Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Jansi (0.06 sec)

  1. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

                    throw new IllegalStateException("Dumb terminal detected.\nThis tool requires real terminal to work!\n"
                            + "Note: On Windows Jansi or JNA library must be included in classpath.");
                } else if (OSUtils.IS_WINDOWS) {
                    config = new ConsolePrompt.UiConfig(">", "( )", "(x)", "( )");
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val jacksonDatatypeJsr310 = "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
        val jakartaActivation = "com.sun.activation:jakarta.activation"
        val jakartaXmlBind = "jakarta.xml.bind:jakarta.xml.bind-api"
        val jansi = "org.fusesource.jansi:jansi"
        val jatl = "com.googlecode.jatl:jatl"
        val javaPoet = "com.squareup:javapoet"
        val jaxbCore = "com.sun.xml.bind:jaxb-core"
        val jaxbImpl = "com.sun.xml.bind:jaxb-impl"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 08:06:17 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. compat/maven-embedder/pom.xml

          <groupId>org.slf4j</groupId>
          <artifactId>slf4j-simple</artifactId>
          <optional>true</optional>
        </dependency>
        <dependency>
          <groupId>org.jline</groupId>
          <artifactId>jansi-core</artifactId>
        </dependency>
    
        <dependency>
          <groupId>javax.inject</groupId>
          <artifactId>javax.inject</artifactId>
          <scope>provided</scope>
        </dependency>
        <dependency>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. go.mod

    	github.com/charmbracelet/bubbles v0.19.0 // indirect
    	github.com/charmbracelet/bubbletea v0.27.1 // indirect
    	github.com/charmbracelet/lipgloss v0.13.0 // indirect
    	github.com/charmbracelet/x/ansi v0.2.3 // indirect
    	github.com/charmbracelet/x/term v0.2.0 // indirect
    	github.com/coreos/go-semver v0.3.1 // indirect
    	github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                // look for last ANSI escape sequence to check if nextColor
                Matcher matcher = LAST_ANSI_SEQUENCE.matcher(line);
                String nextColor = "";
                if (matcher.find()) {
                    nextColor = matcher.group(1);
                    if (ANSI_RESET.equals(nextColor)) {
                        // last ANSI escape code is reset: no next color
                        nextColor = "";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

            return style(style).a(message).resetStyle();
        }
    
        MessageBuilder style(String style);
    
        MessageBuilder resetStyle();
    
        //
        // message building methods modelled after Ansi methods
        //
    
        @Nonnull
        @Override
        MessageBuilder append(CharSequence cs);
    
        @Nonnull
        @Override
        MessageBuilder append(CharSequence cs, int start, int end);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. internal/logger/console.go

    	// of splitting error text and always pretty printing the
    	// red banner along with the error message. Since the error
    	// message itself contains some colored text, we needed
    	// to use some ANSI control escapes to cursor color state
    	// and freely move in the screen.
    	for _, line := range strings.Split(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertEquals("-Dpom.xml", request.getCommandLine().getOptionValue(CLIManager.ALTERNATE_POM_FILE));
        }
    
        @Test
        void testStyleColors() throws Exception {
            assumeTrue(MessageUtils.isColorEnabled(), "ANSI not supported");
            CliRequest request;
    
            MessageUtils.setColorEnabled(true);
            request = new CliRequest(new String[] {"-B"}, null);
            cli.cli(request);
            cli.properties(request);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                // look for last ANSI escape sequence to check if nextColor
                Matcher matcher = LAST_ANSI_SEQUENCE.matcher(line);
                String nextColor = "";
                if (matcher.find()) {
                    nextColor = matcher.group(1);
                    if (ANSI_RESET.equals(nextColor)) {
                        // last ANSI escape code is reset: no next color
                        nextColor = "";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top