mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
chore: remove incorrect space before nolint directives
This commit is contained in:
6
tea.go
6
tea.go
@@ -313,7 +313,7 @@ func (p *Program) StartReturningModel() (Model, error) {
|
|||||||
return p.initialModel, err
|
return p.initialModel, err
|
||||||
}
|
}
|
||||||
|
|
||||||
defer f.Close() // nolint:errcheck
|
defer f.Close() //nolint:errcheck
|
||||||
|
|
||||||
p.input = f
|
p.input = f
|
||||||
|
|
||||||
@@ -336,7 +336,7 @@ func (p *Program) StartReturningModel() (Model, error) {
|
|||||||
return p.initialModel, err
|
return p.initialModel, err
|
||||||
}
|
}
|
||||||
|
|
||||||
defer f.Close() // nolint:errcheck
|
defer f.Close() //nolint:errcheck
|
||||||
|
|
||||||
p.input = f
|
p.input = f
|
||||||
}
|
}
|
||||||
@@ -431,7 +431,7 @@ func (p *Program) StartReturningModel() (Model, error) {
|
|||||||
} else {
|
} else {
|
||||||
defer close(p.readLoopDone)
|
defer close(p.readLoopDone)
|
||||||
}
|
}
|
||||||
defer p.cancelReader.Close() // nolint:errcheck
|
defer p.cancelReader.Close() //nolint:errcheck
|
||||||
|
|
||||||
if f, ok := p.output.TTY().(*os.File); ok && isatty.IsTerminal(f.Fd()) {
|
if f, ok := p.output.TTY().(*os.File); ok && isatty.IsTerminal(f.Fd()) {
|
||||||
// Get the initial terminal size and send it to the program.
|
// Get the initial terminal size and send it to the program.
|
||||||
|
|||||||
Reference in New Issue
Block a user