From d0e366ff8d4b6350463d23b40d2505ea18906e3c Mon Sep 17 00:00:00 2001 From: Tyler Hardin Date: Wed, 21 Jun 2023 13:14:20 -0400 Subject: [PATCH] Enable sixel support in VTE if it's available. --- terminatorlib/terminal.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 914d69d7..9dccf7b3 100644 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -155,6 +155,9 @@ class Terminal(Gtk.VBox): self.composite_support = True dbg('composite_support: %s' % self.composite_support) + if hasattr(self.vte, "set_enable_sixel"): + self.vte.set_enable_sixel(True) + self.vte.show() self.update_url_matches()