Bottom moves the cursor to the bottom of the terminal. This is done by calculating how many lines were moved by Up and Down.
()
| 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. |
| 84 | func 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. |
| 94 | func StartOfLine() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…