it is with great sadness the DOM and event bus go. Its all callbacks now
This commit is contained in:
@@ -4,16 +4,6 @@ import (
|
||||
"github.com/rivo/tview"
|
||||
)
|
||||
|
||||
// func bindOutputWindowEvents(
|
||||
// bus *events.Bus,
|
||||
// output *tview.TextView,
|
||||
// ) {
|
||||
// bus.On(ui.PrintLogEv{}, func(e any) {
|
||||
// le, _ := e.(ui.PrintLogEv)
|
||||
// fmt.Fprintf(output, le.Log)
|
||||
// })
|
||||
// }
|
||||
|
||||
type OutputWinView struct {
|
||||
TextArea *tview.TextView
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user