fix cursor handling when alt screen is disabled
authorq@c9x.me <q@c9x.me>
Wed, 9 Apr 2014 18:37:23 +0000 (20:37 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 15 Apr 2014 06:13:41 +0000 (08:13 +0200)
commitb8d6171cb00c28e4c90e58e101554097003b59d3
tree4e7012dba8d976e1a322870d5d6c726af65e584c
parentebb6e03201ce0e5a00be7cff2e365ad3d6cb7195
fix cursor handling when alt screen is disabled

I don't like this alt screen thing, but when
allowaltscreen == 0, the cursor is still saved
and restored after calling 'less' (or 'man').

This patch makes allowaltscreen == 0 usable.
st.c