git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make Windows look like X11, why does this work
[fanfix.git]
/
src
/
jexer
/
TPasswordField.java
diff --git
a/src/jexer/TPasswordField.java
b/src/jexer/TPasswordField.java
index 8fd29d0d8fde69e15cb35cd1361f0fcb1d7c0b01..d68a21c45bbac5a4804aca46fea7d217d2f24946 100644
(file)
--- a/
src/jexer/TPasswordField.java
+++ b/
src/jexer/TPasswordField.java
@@
-97,7
+97,7
@@
public final class TPasswordField extends TField {
CellAttributes fieldColor;
boolean showStars = false;
CellAttributes fieldColor;
boolean showStars = false;
- if (
get
AbsoluteActive()) {
+ if (
is
AbsoluteActive()) {
fieldColor = getTheme().getColor("tfield.active");
} else {
fieldColor = getTheme().getColor("tfield.inactive");
fieldColor = getTheme().getColor("tfield.active");
} else {
fieldColor = getTheme().getColor("tfield.inactive");
@@
-114,7
+114,7
@@
public final class TPasswordField extends TField {
getScreen().hLineXY(0, 0, getWidth() - 2, '*',
fieldColor);
} else {
getScreen().hLineXY(0, 0, getWidth() - 2, '*',
fieldColor);
} else {
- getScreen().putStrXY(0, 0, text.substring(windowStart, end),
+ getScreen().putStr
ing
XY(0, 0, text.substring(windowStart, end),
fieldColor);
}
fieldColor);
}