aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/term/screen.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-10 00:16:10 +0900
committernsfisis <nsfisis@gmail.com>2023-03-10 00:16:10 +0900
commit67c1fcf7467e59edea1d50358dc35bb5dcde3224 (patch)
tree22c9a70a27ec06f016fb1b539ea3182bb2c625ff /internal/term/screen.go
parent6a90aaa2ec54518c68fed97380fa316ce25fb6a1 (diff)
downloadterm-clock-67c1fcf7467e59edea1d50358dc35bb5dcde3224.tar.gz
term-clock-67c1fcf7467e59edea1d50358dc35bb5dcde3224.tar.zst
term-clock-67c1fcf7467e59edea1d50358dc35bb5dcde3224.zip
chore: go fmt
Diffstat (limited to 'internal/term/screen.go')
-rw-r--r--internal/term/screen.go10
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
}