save the Alt buffer when restoring primary buffer
refactor restoreBuffer to showPrimaryBuffer
add showAltBuffer and showingAltScreen showAltBuffer replaces saveBuffer for showing the alt term screen showAltBuffer saves a copy of the alt screen for later display showPrimaryBuffer sets and respects boolean showingAltScreen
refactor saveBuffer to savePrimaryBuffer
respect boolean showingAltScreen throughout instead of checking saved_primary_buffer for content
wipe the alt screen if the primary screen resizes
doc/comment
Remove some duplicated code
Merge branch 'master' of https://github.com/gnachman/iTerm2
Make cmd-0 not leave the session's bookmark in an inconsistent state (bug 2546)
Merge branch 'master' of https://github.com/gnachman/iTerm2
Make cmd-0 not leave the session's bookmark in an inconsistent state (bug 2546)
Merge https://github.com/jonathanrosenfeld/iTerm2 into pull132
Style fies
Remove bogus return statement
Merge branch 'v2'
Add test_pull.sh
added Konsole-like 24-bit color control sequences
use foogroundColor to store fooRed in 24-bit mode
reordered ScreenChar elements for byte alignment