From: Kevin Lamonte Date: Mon, 5 Aug 2019 03:50:33 +0000 (-0500) Subject: Fix shadow over double-width X-Git-Tag: fanfix-swing-0.0.1~12^2~13^2~107 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=49380c21bc74308370dd85d30f7c0c689eb1cab8;p=fanfix-swing.git Fix shadow over double-width --- 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); }