mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-02 23:17:34 -04:00
Handle renderer errors
This commit is contained in:
+2
-2
@@ -67,6 +67,6 @@ func (e *BaseElement) Render(w io.Writer, node *bf.Node, tr *TermRenderer) error
|
||||
out = out.Blink()
|
||||
}
|
||||
|
||||
w.Write([]byte(aurora.Sprintf("%s", out)))
|
||||
return nil
|
||||
_, err := w.Write([]byte(aurora.Sprintf("%s", out)))
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user