TTerminalWindow sixel support wip
[nikiroo-utils.git] / src / jexer / backend / ECMA48Terminal.java
index 6085554904320675139608a67329e0bbe33428fe..08010cef42c569cd9ea796111424fad63171c78e 100644 (file)
@@ -3012,6 +3012,15 @@ public class ECMA48Terminal extends LogicalScreen
         return (startSixel(x, y) + sb.toString() + endSixel());
     }
 
+    /**
+     * Get the sixel support flag.
+     *
+     * @return true if this terminal is emitting sixel
+     */
+    public boolean hasSixel() {
+        return sixel;
+    }
+
     // ------------------------------------------------------------------------
     // End sixel output support -----------------------------------------------
     // ------------------------------------------------------------------------