From: Kevin Lamonte Date: Mon, 5 Aug 2019 03:50:33 +0000 (-0500) Subject: Fix shadow over double-width X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=49380c21bc74308370dd85d30f7c0c689eb1cab8;p=fanfix-jexer.git Fix shadow over double-width --- diff --git a/src/jexer/TTerminalWindow.java b/src/jexer/TTerminalWindow.java index d185331..945536d 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); }