id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3640	Subshell cursor position lost after window resizing	yurikhan	andrew_b	"To reproduce:

1. Start `xterm`.

2. Start `tmux` with default configuration:

    {{{
    (xterm)$ tmux -f /dev/null
    }}}

3. Start `mc`.

    {{{
    (tmux)$ mc
    }}}

4. Hide panels (`Ctrl+O`).

5. Resize the xterm window.

6. Note the cursor position.

7. Switch panels on and off again (`Ctrl+O Ctrl+O`).

8. Note the cursor position.

Expected behavior: cursor position is the same in steps 6 and 8.

Observed behavior: cursor moves to the top line.

Versions:

* Ubuntu 16.04
* tmux 2.1
* mc 4.8.15 compiled with libslang2 2.3.0

{{{
$ mc -V
GNU Midnight Commander 4.8.15
Built with GLib 2.47.3
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
}}}"	defect	closed	major	4.8.17	mc-tty	4.8.15	fixed					merged	committed-master
