Write only changed characters from OSK.
Merge pull request #3732 from unknownbrackets/osk-fix

Write only changed characters from OSK