MCPcopy Create free account
hub / github.com/atomicgo/cursor / Bottom

Function Bottom

utils.go:84–91  ·  view source on GitHub ↗

Bottom moves the cursor to the bottom of the terminal. This is done by calculating how many lines were moved by Up and Down.

()

Source from the content-addressed store, hash-verified

82// Bottom moves the cursor to the bottom of the terminal.
83// This is done by calculating how many lines were moved by Up and Down.
84func Bottom() {
85 if autoheight > 0 {
86 Down(autoheight)
87 StartOfLine()
88
89 autoheight = 0
90 }
91}
92
93// StartOfLine moves the cursor to the start of the current line.
94func StartOfLine() {

Callers

nothing calls this directly

Calls 2

DownFunction · 0.85
StartOfLineFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…