wezterm ignores wrapped long line when alt screen is used and tmux uses alt screen that makes copying wrapped long line into multiple lines. After testing on sevaral tui apps like tmux, w3m, htop it seems to show reasonable performance on resizing. Fixes #5283