Skip to content

Commit 3b93e14

Browse files
authored
fix: Flickering issue (#436)
1 parent 3d15182 commit 3b93e14

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pkg/tui/screen.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package tui
22

33
import (
4-
"github.com/gdamore/tcell/v2"
54
"github.com/rivo/tview"
65
)
76

@@ -13,12 +12,6 @@ type Screen struct {
1312
// NewScreen creates a new screen.
1413
func NewScreen() *Screen {
1514
app := tview.NewApplication()
16-
17-
app.SetBeforeDrawFunc(func(s tcell.Screen) bool {
18-
s.Clear()
19-
return false
20-
})
21-
2215
return &Screen{app}
2316
}
2417

0 commit comments

Comments
 (0)