From 49380c21bc74308370dd85d30f7c0c689eb1cab8 Mon Sep 17 00:00:00 2001 From: Kevin Lamonte Date: Sun, 4 Aug 2019 22:50:33 -0500 Subject: [PATCH] Fix shadow over double-width --- src/jexer/TTerminalWindow.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jexer/TTerminalWindow.java b/src/jexer/TTerminalWindow.java index d1853310..945536d5 100644 --- a/src/jexer/TTerminalWindow.java +++ b/src/jexer/TTerminalWindow.java @@ -1061,6 +1061,11 @@ public class TTerminalWindow extends TScrollableWindow } left.setImage(leftImage); right.setImage(rightImage); + // Since we have image data, ditch the character here. Otherwise, a + // drawBoxShadow() over the terminal window will show the characters + // which looks wrong. + left.setChar(' '); + right.setChar(' '); putCharXY(x, y, left); putCharXY(x + 1, y, right); } -- 2.27.0