Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cursorDown (0.1 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/MultiLineBuildProgressAreaTest.groovy

                1 * ansi.cursorUp(absoluteDeltaRowToAreaTop)
                1 * ansi.eraseLine(Ansi.Erase.ALL)
                1 * ansi.cursorDown(1)
                1 * ansi.eraseLine(Ansi.Erase.ALL)
                1 * ansi.cursorDown(1)
                1 * ansi.eraseLine(Ansi.Erase.ALL)
    
                // Parking
                1 * ansi.cursorDown(1)
                1 * ansi.eraseLine(Ansi.Erase.ALL)
    
                1 * ansi.cursorUp(absoluteDeltaRowToAreaTop)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  2. maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            return y > 0 ? appendEscapeSequence('A', y) : y < 0 ? cursorDown(-y) : this;
        }
    
        /**
         * Moves the cursor down. If the parameter y is negative it moves the cursor up.
         *
         * @param y the number of lines to move down
         * @return this Ansi instance
         */
        public Ansi cursorDown(final int y) {
            return y > 0 ? appendEscapeSequence('B', y) : y < 0 ? cursorUp(-y) : this;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultRedrawableLabelTest.groovy

            redraw()
    
            then:
            2 * ansi.a('text')
            1 * ansi.cursorLeft(4)
            if (rows < 0) {
                1 * ansi.cursorUp(Math.abs(rows))
            } else {
                1 * ansi.cursorDown(rows)
            }
            0 * ansi._
    
            where:
            rows << [-9, -5, -1, 1, 4, 9]
        }
    
        def "scrolling the label by zero row between redraw won't rewrite the text to ansi"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java

                    ansi.cursorLeft(writeCursor.col);
                }
                if (writeCursor.row < position.row) {
                    ansi.cursorUp(position.row - writeCursor.row);
                } else {
                    ansi.cursorDown(writeCursor.row - position.row);
                }
                if (position.col > 0) {
                    ansi.cursorRight(position.col);
                }
            }
            writeCursor.copyFrom(position);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top