id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3639	Subshell output lost on window resize under tmux, GNU screen	yurikhan	andrew_b	"To reproduce:

1. Start xterm. Enable 256-color support:

    {{{
    (xterm)$ set TERM=xterm-256color
    }}}

2. Start tmux with the following configuration enabling 256-color support:

    {{{
    (xterm)$ cat tmux256.conf
    set -g default-terminal ""screen-256color""

    (xterm)$ tmux -f tmux256.conf
    }}}

3. Start mc:

    {{{
    (tmux)$ mc
    }}}

4. Hide panels by pressing `Ctrl+O`.

5. Generate some subshell output:

    {{{
    (mc)$ ls -al
    }}}

6. Resize the xterm window.

Expected behavior: shell output remains on screen (suitably padded or truncated to new window size).

Observed behavior: screen is cleared, with cursor remaining at the same position.

Versions:

* Ubuntu 16.04
* tmux 2.1
* mc 4.8.15 compiled with libslang2

{{{
$ 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.18	mc-core	4.8.17	fixed		and			merged	committed-master
