diff --git a/pkg/cy/janet.go b/pkg/cy/janet.go index f8265104..6dc282d7 100644 --- a/pkg/cy/janet.go +++ b/pkg/cy/janet.go @@ -124,17 +124,7 @@ func (c *Cy) initJanet(ctx context.Context) (*janet.VM, error) { return } - node := client.Node() - if node == nil { - return - } - - pane, ok := node.(*tree.Pane) - if !ok { - return - } - - pane.Write([]byte(buffer)) + client.renderer.Write([]byte(buffer)) }, "log": func(text string) { c.log.Info().Msgf(text)