import jexer.bits.GraphicsChars;
/**
- * TField implements an editable text field.
+ * TPasswordField implements an editable text field that displays
+ * stars/asterisks when it is not active.
*/
public class TPasswordField extends TField {
end = text.length();
}
- hLineXY(0, 0, getWidth(), GraphicsChars.HATCH, fieldColor);
+ hLineXY(0, 0, getWidth(), backgroundChar, fieldColor);
if (showStars) {
hLineXY(0, 0, getWidth() - 2, '*', fieldColor);
} else {