improve input text edit display