Module: Vedeu::Buffers

Defined in:
lib/vedeu/buffers/all.rb,
lib/vedeu/buffers/null.rb,
lib/vedeu/buffers/view.rb,
lib/vedeu/buffers/clear.rb,
lib/vedeu/buffers/empty.rb,
lib/vedeu/buffers/buffer.rb,
lib/vedeu/buffers/refresh.rb,
lib/vedeu/buffers/terminal.rb,
lib/vedeu/buffers/repository.rb,
lib/vedeu/buffers/refresh_content.rb

Overview

The Buffer object represents the states of display for an interface. The states are ‘front’, ‘back’ and ‘previous’.

Back

-> [Front] -> [Previous]

The content on the screen, or last output will always be the ‘Front’ buffer. Content due to be displayed on next refresh will come from the ‘Back’ buffer when available, otherwise from the current ‘Front’ buffer. When new content is copied to the ‘Front’ buffer, the current ‘Front’ buffer is also copied to the ‘Previous’ buffer.

Defined Under Namespace

Modules: Terminal Classes: Buffer, Clear, Empty, Null, Refresh, RefreshContent, Repository, View