Fix terminal damage after leaving Vi mode
Fix terminal damage after leaving Vi mode

This fixes an issue when search results were not damaged when leaving Vi
mode.
jwilm/alacritty,alacritty/alacritty,jwilm/alacritty,jwilm/alacritty,jwilm/alacritty,alacritty/alacritty