@ -7,10 +7,6 @@ class AsciiIo.ScreenBuffer
@cursorX = 0
@cursorY = 0
@fg = @bg = undefined
@bright = false
@underline = false
@italic = false
@brush = AsciiIo.Brush.create({})
topMargin: ->
@ -415,6 +415,11 @@ class AsciiIo.VT
@alternateBuffer = new AsciiIo.ScreenBuffer(@cols, @lines, @scrollRegion, @tabStops)
@buffer = @normalBuffer
@updateScreen()
saveTerminalState: ->