Merge pull request #4250 from thaJeztah/tininits

tini nits
This commit is contained in:
Sebastiaan van Stijn
2023-05-16 18:13:24 +01:00
committed by GitHub
2 changed files with 5 additions and 6 deletions

View File

@ -87,7 +87,7 @@ func (h *hijackedIOStreamer) setupInput() (restore func(), err error) {
var restoreOnce sync.Once
restore = func() {
restoreOnce.Do(func() {
restoreTerminal(h.streams, h.inputStream)
_ = restoreTerminal(h.streams, h.inputStream)
})
}