Fixed bug with formatted inputs.
Fixed bug with narrow window and formatted text