Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for Terminal (0.04 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/ConsoleIcon.java

        /**
         * Gets the charset used by the terminal for output.
         * Falls back to the system default charset if terminal charset is not available.
         *
         * @param terminal the terminal to get the charset from
         * @return the terminal's output charset or the system default charset
         */
        private static Charset getTerminalCharset(Terminal terminal) {
            if (terminal != null && terminal.encoding() != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

    import org.jline.reader.UserInterruptException;
    import org.jline.reader.impl.DefaultHighlighter;
    import org.jline.reader.impl.DefaultParser;
    import org.jline.reader.impl.history.DefaultHistory;
    import org.jline.terminal.Terminal;
    import org.jline.utils.AttributedStringBuilder;
    import org.jline.utils.AttributedStyle;
    import org.jline.utils.InfoCmp;
    import org.jline.widget.TailTipWidgets;
    
    /**
     * mvnsh invoker implementation.
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

                context.addInHeader("");
    
                context.terminal.handle(
                        Terminal.Signal.INT, signal -> Thread.currentThread().interrupt());
    
                context.reader =
                        LineReaderBuilder.builder().terminal(context.terminal).build();
    
                if (context.options().goals().isEmpty()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

                context.addInHeader("");
    
                context.terminal.handle(
                        Terminal.Signal.INT, signal -> Thread.currentThread().interrupt());
    
                context.reader =
                        LineReaderBuilder.builder().terminal(context.terminal).build();
    
                if (context.options().goals().isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. docs/en/docs/js/termynal.js

    /**
     * termynal.js
     * A lightweight, modern and extensible animated terminal window, using
     * async/await.
     *
     * @author Ines Montani <******@****.***>
     * @version 0.0.1
     * @license MIT
     */
    
    'use strict';
    
    /** Generate a terminal widget. */
    class Termynal {
        /**
         * Construct the widget's settings.
         * @param {(string|Node)=} container - Query selector or container element.
         * @param {Object=} options - Custom settings.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            } else {
                writer.accept(CLIReportingUtils.showVersion());
            }
        }
    
        protected String describe(Terminal terminal) {
            if (terminal == null) {
                return null;
            }
            if (terminal instanceof FastTerminal ft) {
                terminal = ft.getTerminal();
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/InteractiveGoalSupport.java

            if (!context.interactive) {
                context.terminal.writer().println("This tool works only in interactive mode!");
                context.terminal
                        .writer()
                        .println("Tool purpose is to configure password management on developer workstations.");
                context.terminal
                        .writer()
                        .println(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 11 09:13:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

     * Tests icon rendering with different terminal charsets and fallback behavior.
     */
    @DisplayName("ConsoleIcon")
    class ConsoleIconTest {
    
        @Test
        @DisplayName("should return Unicode icons when terminal supports UTF-8")
        void shouldReturnUnicodeWhenTerminalSupportsUtf8() {
            Terminal mockTerminal = mock(Terminal.class);
            when(mockTerminal.encoding()).thenReturn(StandardCharsets.UTF_8);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

        val start = (code shl shift) and 0xff
        val end = 1 shl shift
        node.children!!.fill(terminal, start, start + end)
      }
    
      private class Node {
        /** Null if terminal. */
        val children: Array<Node?>?
    
        /** Terminal nodes have a symbol. */
        val symbol: Int
    
        /** Number of bits represented in the terminal node. */
        val terminalBitCount: Int
    
        /** Construct an internal node. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

    import org.apache.maven.cling.logging.Slf4jConfiguration;
    import org.apache.maven.eventspy.internal.EventSpyDispatcher;
    import org.apache.maven.logging.BuildEventListener;
    import org.jline.terminal.Terminal;
    import org.slf4j.ILoggerFactory;
    
    import static java.util.Objects.requireNonNull;
    
    @SuppressWarnings("VisibilityModifier")
    public class LookupContext implements AutoCloseable {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top