an attempt to implemen alternative buffer control sequences (1049l, 1049h)
that are used for vim and other fullscreen programs