Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for Cursor (0.12 sec)

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

        }
    
        public static Cursor at(int row, int col) {
            Cursor result = new Cursor();
            result.row = row;
            result.col = col;
            return result;
        }
    
        public static Cursor newBottomLeft() {
            Cursor result = new Cursor();
            result.bottomLeft();
            return result;
        }
    
        public static Cursor from(Cursor position) {
            Cursor result = new Cursor();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultAnsiExecutorTest.groovy

            Cursor writePos = Cursor.at(3, 0)
            int startRow = writePos.row
            String text = "A" * TERMINAL_WIDTH +
                "B" * TERMINAL_WIDTH +
                "C" * TERMINAL_WIDTH +
                "D" * 3
    
            when:
            ansiExecutor.writeAt(writePos) {
                it.a(text)
            }
    
            then:
            writeCursor == Cursor.at(0, text.length())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java

            writeCursor.col = 0;
    
            // On any line except the bottom most one, a new line simply move the cursor to the next row.
            // Note: the next row has a lower index.
            if (writeCursor.row > 0) {
                writeCursor.row--;
            } else {
                writeCursor.row = 0;
            }
            cursor.copyFrom(writeCursor);
        }
    
        private void positionCursorAt(Cursor position, Ansi ansi) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/CursorTest.groovy

        def "create a cursor at (0,0) when using factory method 'newBottomLeft'"() {
            when:
            Cursor cursor = Cursor.newBottomLeft()
    
            then:
            cursor.row == 0
            cursor.col == 0
        }
    
        def "create a cursor at (#row, #col) when using factory method 'at'"() {
            when:
            Cursor cursor = Cursor.at(row, col)
    
            then:
            cursor.row == row
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/MultiLineBuildProgressArea.java

        // 2 lines: 1 for BuildStatus and 1 for Cursor parking space
        private final List<DefaultRedrawableLabel> entries = new ArrayList<DefaultRedrawableLabel>(2);
        private final DefaultRedrawableLabel progressBarLabel;
    
        private final List<StyledLabel> buildProgressLabels = new ArrayList<StyledLabel>();
        private final DefaultRedrawableLabel parkingLabel;
        private final Cursor statusAreaPos = new Cursor();
        private boolean isVisible;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/term/terminal.go

    	// Move cursor to column zero at the start of the line.
    	t.move(t.cursorY, 0, t.cursorX, 0)
    	t.cursorX, t.cursorY = 0, 0
    	t.clearLineToRight()
    	for t.cursorY < numPrevLines {
    		// Move down a line
    		t.move(0, 1, 0, 0)
    		t.cursorY++
    		t.clearLineToRight()
    	}
    	// Move back to beginning.
    	t.move(t.cursorY, 0, 0, 0)
    	t.cursorX, t.cursorY = 0, 0
    
    	t.queue(t.prompt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultRedrawableLabel.java

            this.spans = spans;
        }
    
        public Cursor getWritePosition() {
            return writePos;
        }
    
        public void setVisible(boolean isVisible) {
            this.isVisible = isVisible;
        }
    
        public boolean isOverlappingWith(Cursor cursor) {
            return cursor.row == writePos.row && writePos.col > cursor.col;
        }
    
        @Override
        public void redraw(AnsiContext ansi) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

         *
         * @param y the number of lines to move up
         * @return this Ansi instance
         */
        public Ansi cursorUp(final int y) {
            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
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go

    	a.cursor.name = name
    	a.cursor.iter = iter
    	a.cursor.node = n
    
    	if a.pre != nil && !a.pre(&a.cursor) {
    		a.cursor = saved
    		return
    	}
    
    	// walk children
    	// (the order of the cases matches the order of the corresponding node types in go/ast)
    	switch n := n.(type) {
    	case nil:
    		// nothing to do
    
    	// Comments and fields
    	case *ast.Comment:
    		// nothing to do
    
    	case *ast.CommentGroup:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  10. src/main/webapp/css/admin/plugins/daterangepicker/daterangepicker.css

    auto;
    L219:}
    L220:
    L221:.daterangepicker td.disabled, .daterangepicker option.disabled {
    L222:  color: #999;
    L223:  cursor: not-allowed;
    L224:  text-decoration: line-through;
    L225:}
    L226:
    L227:.daterangepicker select.monthselect, .daterangepicker select.yearselect {
    L228:  font-size: 12px;
    L229:  padding: 1px;
    L230:  height: auto;
    L231:  margin: 0;
    L232:  cursor: default;
    L233:}
    L234:
    L235:.daterangepicker select.monthselect {
    L236:  margin-right: 2%;
    L237:  width: 56%;
    L238:}
    ...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 13 04:21:06 UTC 2020
    - 7.9K bytes
    - Viewed (0)
Back to top