termstatus: remove unused parameter from helpers

This commit is contained in:
Michael Eischer 2023-05-18 19:30:44 +02:00
parent b0a01ae68a
commit a719d10e22
3 changed files with 6 additions and 6 deletions

View file

@ -12,12 +12,12 @@ import (
// clearCurrentLine removes all characters from the current line and resets the
// cursor position to the first column.
func clearCurrentLine(wr io.Writer, fd uintptr) func(io.Writer, uintptr) {
func clearCurrentLine(_ uintptr) func(io.Writer, uintptr) {
return posixClearCurrentLine
}
// moveCursorUp moves the cursor to the line n lines above the current one.
func moveCursorUp(wr io.Writer, fd uintptr) func(io.Writer, uintptr, int) {
func moveCursorUp(_ uintptr) func(io.Writer, uintptr, int) {
return posixMoveCursorUp
}