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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user