2013/9/29, Roberto E. Vargas Caballero <k...@shike2.com>: > On Sat, Sep 28, 2013 at 08:47:04PM +0000, Mihail Zenkov wrote: >> I have problem in mc with incorrect cursor position in alt screen. I >> check xterm and found two difference. >> >> 1. xterm store two cursor position - first for main screen and second >> for alt screen. >> Explaining: http://invisible-island.net/xterm/xterm.log.html#xterm_90 >> >> 2. Escape sequence [?1049l swap screen and also set/restore cursor. > > This is something I knew it was not working. vttest (the teminal > compability test) has a test for these features in the 2 section, > and st failed in the test. I have tested st with your patch and > it contunue without pass vttest, so there is something still > is wrong.
I check this. To pass this test we also should report cursor position.
st-cursor_pos.patch
Description: Binary data