aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/term
diff options
context:
space:
mode:
Diffstat (limited to 'internal/term')
-rw-r--r--internal/term/draw.go2
-rw-r--r--internal/term/screen.go10
2 files changed, 6 insertions, 6 deletions
diff --git a/internal/term/draw.go b/internal/term/draw.go
index c6f297f..9ce640a 100644
--- a/internal/term/draw.go
+++ b/internal/term/draw.go
@@ -4,7 +4,7 @@ import (
"github.com/gdamore/tcell/v2"
)
-type Style tcell.Style;
+type Style tcell.Style
var (
BgStyle Style
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
}