diff options
Diffstat (limited to 'internal/term/screen.go')
| -rw-r--r-- | internal/term/screen.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/term/screen.go b/internal/term/screen.go index 14bfcfb..fc1555f 100644 --- a/internal/term/screen.go +++ b/internal/term/screen.go @@ -5,22 +5,22 @@ import ( ) type Screen struct { - scr tcell.Screen + scr tcell.Screen onResize func() bool - QuitC chan struct{} + QuitC chan struct{} } func NewScreen() (*Screen, error) { scr, err := tcell.NewScreen() - if err != nil{ + if err != nil { return nil, err } err = scr.Init() - if err != nil{ + if err != nil { return nil, err } return &Screen{ - scr: scr, + scr: scr, QuitC: make(chan struct{}), }, nil } |
