1
0
mirror of https://github.com/taigrr/wtf synced 2026-04-01 12:28:43 -07:00

Constantize the defaultFocus value for each module

This commit is contained in:
Chris Cummer
2019-09-18 20:34:53 -07:00
parent d6208b4730
commit bf877f5fa7
120 changed files with 421 additions and 255 deletions

View File

@@ -10,7 +10,9 @@ import (
"github.com/wtfutil/wtf/view"
)
const maxBufferSize int64 = 1024
const (
maxBufferSize int64 = 1024
)
type Widget struct {
view.TextWidget
@@ -22,7 +24,7 @@ type Widget struct {
func NewWidget(app *tview.Application, settings *Settings) *Widget {
widget := Widget{
TextWidget: view.NewTextWidget(app, settings.common, true),
TextWidget: view.NewTextWidget(app, settings.common),
app: app,
filePath: log.LogFilePath(),