Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion internal/action/globals.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ var LogBufPane *BufPane
// InitGlobals initializes the log buffer and the info bar
func InitGlobals() {
InfoBar = NewInfoBar()
buffer.LogBuf = buffer.NewBufferFromString("", "Log", buffer.BTLog)
buffer.LogBuf = buffer.NewBufferFromString("", "", buffer.BTLog)
buffer.LogBuf.SetName("Log")
}

// GetInfoBar returns the infobar pane
Expand Down
3 changes: 3 additions & 0 deletions internal/action/rawpane.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ func NewRawPaneFromWin(b *buffer.Buffer, win display.BWindow, tab *Tab) *RawPane

func NewRawPane(tab *Tab) *RawPane {
b := buffer.NewBufferFromString("", "", buffer.BTRaw)
b.SetName("Raw event viewer")

w := display.NewBufWindow(0, 0, 0, 0, b)

return NewRawPaneFromWin(b, w, tab)
}

Expand Down