More linter fixes

This commit is contained in:
Kovid Goyal
2023-09-22 12:20:37 +05:30
parent fd85dfb417
commit 911c80aa3b
3 changed files with 10 additions and 7 deletions

View File

@@ -273,7 +273,7 @@ func (self *Loop) Run() (err error) {
defer term.RestoreAndClose()
fmt.Println("Press any key to exit.\r")
buf := make([]byte, 16)
term.Read(buf)
_, _ = term.Read(buf)
}
}
}