Remove unused unexported variable.

The eraseUnderCursor variable is unused, it came in with the import of the
x/crypto/ssh/terminal package at d7a7210 but is not referenced here.

When this package is vendored, the unused unexported name trips warnings from
tools like staticcheck.
This commit is contained in:
M. J. Fromberger
2022-10-29 10:21:04 -07:00
parent 8365914569
commit a4ab5868b4

View File

@@ -233,7 +233,6 @@ func (t *Terminal) queue(data []rune) {
t.outBuf = append(t.outBuf, []byte(string(data))...)
}
var eraseUnderCursor = []rune{' ', keyEscape, '[', 'D'}
var space = []rune{' '}
func isPrintable(key rune) bool {