Fix save/restore cursor
authorMihail Zenkov <mihail.zenkov@gmail.com>
Tue, 1 Oct 2013 18:02:24 +0000 (20:02 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Wed, 2 Oct 2013 18:47:19 +0000 (20:47 +0200)
commit62ab938965f2673e029ae2e2a4244788e673bd70
tree3bf4d187f7ac6614ac009c73edba192abc16464c
parent2b1bc8087f232a7b0ba4c7233e76be7abae25a88
Fix save/restore cursor

st was assuming that save/restore cursor position was independent
of the screen that was shown in each moment, but it is not true,
because each screen has a different save/restore buffer. This
patch fixes it.
st.c