Update display text immediately after password character or password
mode has been enabled (issue 1397).
Only update displayed text for password characters if password mode is
enabled.
Merge pull request #360 from aspic/master

Fix for issue #1397