Class: Amun::Windows::TextRenderer
- Defined in:
- lib/amun/windows/text_renderer.rb
Overview
this class renders the buffer in a curses window makes sure the current character under point is highlighted highlight the space between point and mark and make sure to color text and other stuff consider it the rendering engine of the buffer
Instance Attribute Summary
Attributes inherited from Base
Attributes inherited from Object
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from Object
Constructor Details
This class inherits a constructor from Amun::Windows::Base
Instance Method Details
#render(buffer) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/amun/windows/text_renderer.rb', line 11 def render(buffer) curses_window.erase curses_window.scrollok(true) render_text(buffer) curses_window.refresh end |