jcjordyn140 / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Decreasing the window size crops visible lines #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start mintty -
2. Set the window size to 80x25
3. execute "ls -l /bin"
4. decrease window size to 30x10
5. increase window size to 80x25

I used both the options dialog and dragging the window border to
change the window size. The effect is the same.

What is the expected output? What do you see instead?

I would expect output of ls to be fully visible after the last step.

Instead, the last few lines of output (nr of lines depending on smallest
window height) are cropped to the smallest window width. See below.

I could not discover any way to let mintty show that lost output again.

What version of the product are you using? On what operating system?

$ mintty -v; uname -s -r -m -o
MinTTY 0.3.5
Copyright (C) 2008-09 Andy Koppe
CYGWIN_NT-5.1 1.5.25(0.156/4/2) i686 Cygwin

(that is: Windows XP pro SP2)

Please provide any additional information below.

contents of mintty window after step 5:

-rwxr-xr-x 1 12267 10513    4894 Jul 23  2007 zgrep*
-rwxr-xr-x 1 12267 10513   65536 Oct 16  2006 zip.exe*
-rwxr-xr-x 1 12267 10513   25088 Oct 16  2006 zipcloak.exe*
-rwxr-xr-x 1 12267 10513    11
-rwxr-xr-x 1 12267 10513  1136
-rwxr-xr-x 1 12267 10513   220
-rwxr-xr-x 1 12267 10513   235
-rwxr-xr-x 1 12267 10513    17
-rwxr-xr-x 1 12267 10513    24
-rwxr-xr-x 1 12267 10513    49

servaasg@p1234 ~
$

Original issue reported on code.google.com by servaasg on 3 Mar 2009 at 3:26

GoogleCodeExporter commented 9 years ago
It's the same in xterm and rxvt, so I think this is an enhancement request 
rather
than a defect. Rebreaking lines on resize should be possible, but it's a fair 
amount
of work.

Original comment by andy.koppe on 3 Mar 2009 at 4:04

GoogleCodeExporter commented 9 years ago
Fixed in r216 on trunk: no longer throwing away excess line contents after 
resize.
(Not doing any rebreaking of lines though.)

Original comment by andy.koppe on 23 Mar 2009 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 23 Mar 2009 at 10:17

GoogleCodeExporter commented 9 years ago
Took fix to 0.3 branch in r256.

Original comment by andy.koppe on 24 Apr 2009 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 25 Apr 2009 at 12:05

GoogleCodeExporter commented 9 years ago
Reverted fix in r300 on trunk, due to issue 101.

Original comment by andy.koppe on 6 May 2009 at 6:41

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 7 Jun 2009 at 7:48

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 7 Jun 2009 at 7:54

GoogleCodeExporter commented 9 years ago
Had another go at this in r931 on trunk.

Original comment by andy.koppe on 26 Jun 2010 at 6:08

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 11 Jul 2010 at 3:54