Skip to content

Commit

Permalink
fix: PanelPrinter ignored the set Writer (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed Jan 17, 2024
1 parent 5a5ecb2 commit 55cd2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel_printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (p PanelPrinter) Srender() (string, error) {
// Render prints the Template to the terminal.
func (p PanelPrinter) Render() error {
s, _ := p.Srender()
Println(s)
Fprintln(p.Writer, s)

return nil
}

0 comments on commit 55cd2a7

Please sign in to comment.