lib/vedeu/terminal/buffer.rb in vedeu-0.6.28 vs lib/vedeu/terminal/buffer.rb in vedeu-0.6.29
- old
+ new
@@ -68,10 +68,11 @@
#
# @return [String|void] Most likely to be a String.
def render
Vedeu.renderers.render(output) if Vedeu.ready?
end
+ alias_method :refresh, :render
# Removes all content from the virtual terminal; effectively
# clearing it.
#
# @return [Array<Array<Vedeu::Models::Cell>>]
@@ -140,7 +141,8 @@
end # Terminal
# @!method clear
# @see Vedeu::Terminal::Buffer#clear
def_delegators Vedeu::Terminal::Buffer, :clear
+ def_delegators Vedeu::Terminal::Buffer, :refresh
end # Vedeu