#!/bin/sh # Alternatively just do 'set previewoptions=hardgraphicsclear' in vifmrc printf '\33[s\33[5A\33[2K\33[u' # see vifm/vifm#588 clear exit 0