Avoiding duplicate clears in edit-line, which cause unintended scroll up for multi-line inputs.