Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for eraseForward (0.26 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AnsiConsole.java

            @Override
            public void beforeNewLineWritten(AnsiContext ansi, Cursor writeCursor) {
                if (buildStatusArea.isOverlappingWith(writeCursor)) {
                    ansi.eraseForward();
                }
    
                if (writeCursor.row == 0) {
                    buildOutputArea.newLineAdjustment();
                    buildStatusArea.newLineAdjustment();
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AnsiContext.java

         */
        AnsiContext newLines(int numberOfNewLines);
    
        /**
         * @return the current context with the characters moving forward from the write position erased.
         */
        AnsiContext eraseForward();
    
        /**
         * @return the current context with the entire line erased.
         */
        AnsiContext eraseAll();
    
        /**
         * @return the current context moved to the specified position.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultRedrawableLabel.java

                    textLength += length;
                }
            }
    
            if (previousWriteRow == absolutePositionRow && textLength < writtenTextLength) {
                ansi.eraseForward();
            }
            // Note: We can't conclude anything if the label scrolled so we leave the erasing to the parent widget.
        }
    
        private static Action<AnsiContext> writeText(final String text) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/MultiLineBuildProgressArea.java

                    int previousLength = entries.get(i + newLines).getWritePosition().col;
                    if (currentLength < previousLength) {
                        ansi.writeAt(label.getWritePosition()).eraseForward();
                    }
                }
            }
    
            if (isPreviouslyVisible || isVisible) {
                ansi.cursorAt(parkCursor());
            }
            isPreviouslyVisible = isVisible;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java

                delegate.newline();
                newLineWritten(writePos);
                return this;
            }
    
            @Override
            public AnsiContext eraseForward() {
                delegate.eraseLine(Ansi.Erase.FORWARD);
                return this;
            }
    
            @Override
            public AnsiContext eraseAll() {
                delegate.eraseLine(Ansi.Erase.ALL);
    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