git://git.nikiroo.be
/
fanfix-jexer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ef8557
)
Fix shadow over double-width
author
Kevin Lamonte
<kevin.lamonte@gmail.com>
Mon, 5 Aug 2019 03:50:33 +0000
(22:50 -0500)
committer
Kevin Lamonte
<kevin.lamonte@gmail.com>
Mon, 5 Aug 2019 03:50:33 +0000
(22:50 -0500)
src/jexer/TTerminalWindow.java
patch
|
blob
|
blame
|
history
diff --git
a/src/jexer/TTerminalWindow.java
b/src/jexer/TTerminalWindow.java
index d1853310349b80c6646d06b6b32e12ea72260cee..945536d57f3e01849a0dc42b2808680707e63c33 100644
(file)
--- 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);
}