msknathan / mintty

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

Crashes if Scrollback lines set to 0 and window is resized to smaller than buffer contents #257

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set "Scrollback lines" in Options->Window to 0 and apply settings
2. Reset terminal (Alt-F8)
3. Produce some output (e.g. "head /dev/random" or "echo 123")
4. Resize window to smaller than what has been output (e.g. to 1 row)
5. Observe program exit

What is the expected output? What do you see instead?
   Expected would be for mintty to resize, pushing contents which don't fit out of the buffer. Instead, the program crashes.

What versions of mintty, Cygwin/MSYS, and Windows are you using?
   mintty 0.9.6
   Cygwin 1.7.9-1
   Windows XP, SP3

Please provide any additional information below.
   All settings besides Scrollback lines = 0 left at default.

Original issue reported on code.google.com by kil...@gmail.com on 5 Apr 2011 at 12:19

GoogleCodeExporter commented 9 years ago
Fixed in r1151 on trunk. Thanks for the report.

Original comment by andy.koppe on 5 Apr 2011 at 5:47

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 17 Apr 2011 at 10:47