Skip to content

Commit a4ab586

Browse files
committed
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.
1 parent 8365914 commit a4ab586

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

terminal.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ func (t *Terminal) queue(data []rune) {
233233
t.outBuf = append(t.outBuf, []byte(string(data))...)
234234
}
235235

236-
var eraseUnderCursor = []rune{' ', keyEscape, '[', 'D'}
237236
var space = []rune{' '}
238237

239238
func isPrintable(key rune) bool {

0 commit comments

Comments
 (0)