Skip to content

Commit

Permalink
Fixed password ENTER inserting new \n character
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Feb 14, 2024
1 parent 76f95ac commit 85dde6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public override void HandleCharEntered(char character)
// do nothing, handled with a backspace above
// HandleBackspace();
}
else if (character == '\r')
else if (character == '\r' || character == '\n')
{
// no enter supported on passwords, do we send an event?
}
Expand Down

0 comments on commit 85dde6e

Please sign in to comment.