- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for clearAndRepaintLinePlusNPrevious (0.31 sec)
-
src/cmd/vendor/golang.org/x/term/terminal.go
func (t *Terminal) SetPrompt(prompt string) { t.lock.Lock() defer t.lock.Unlock() t.prompt = []rune(prompt) } func (t *Terminal) clearAndRepaintLinePlusNPrevious(numPrevLines int) { // 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 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 22.5K bytes - Viewed (0)