Fix layout demo
MODIFY
tools/layout/main.go
tools/layout/main.go
@@ -93,6 +93,10 @@ func (c *CoreLayout) NextFocusableComponent(direction tview.FocusDirection) tvie
panic("implement me")
}
+func (c *CoreLayout) OnPaste(runes []rune) {
+ panic("implement me")
+}
+
func (c *CoreLayout) SetParent(parent tview.Primitive) {
//Do nothing
}
@@ -182,6 +186,10 @@ func (d *demoComponent) NextFocusableComponent(direction tview.FocusDirection) t
return nil
}
+func (d *demoComponent) OnPaste(runes []rune) {
+ panic("implement me")
+}
+
func (d *demoComponent) SetParent(parent tview.Primitive) {
//Do nothing
}

Fix layout demo