ReadonlyactiveThe active buffer, this will either be the normal or alternate buffers.
ReadonlyalternateThe alternate buffer, this becomes the active buffer when an application
enters this mode via DECSET (CSI ? 4 7 h)
ReadonlynormalThe normal buffer.
Adds an event listener for when the active buffer changes.
Represents the terminal's set of buffers.