lib/vedeu/cursors/cursor.rb in vedeu-0.8.2 vs lib/vedeu/cursors/cursor.rb in vedeu-0.8.3

- old
+ new

@@ -160,11 +160,11 @@ self end # Renders the cursor. # - # @return [Array<Vedeu::Cells::Escape>] + # @return [Array<Vedeu::Cells::Cursor>] def render Vedeu.render_output(escape_sequence) end # @return [Array<Fixnum>] @@ -194,11 +194,11 @@ # Vedeu.trigger(:_hide_cursor_) # Vedeu.hide_cursor(name) # Vedeu.hide_cursor(Vedeu.focus) # Vedeu.hide_cursor # - # @return [Vedeu::Cells::Escape] + # @return [Vedeu::Cells::Cursor] def hide super Vedeu.log(type: :cursor, message: "Hiding cursor: '#{name}'") @@ -231,11 +231,11 @@ # Vedeu.trigger(:_show_cursor_) # Vedeu.show_cursor(name) # Vedeu.show_cursor(Vedeu.focus) # Vedeu.show_cursor # - # @return [Vedeu::Cells::Escape] + # @return [Vedeu::Cells::Cursor] def show super Vedeu.log(type: :cursor, message: "Showing cursor: '#{name}'") @@ -288,12 +288,12 @@ x: 1, y: 1, } end - # @return [Vedeu::Cells::Escape] + # @return [Vedeu::Cells::Cursor] def escape_sequence - Vedeu::Cells::Escape.new(position: position, value: visibility) + Vedeu::Cells::Cursor.new(position: position, value: visibility) end # @return [Hash<Symbol => Fixnum>] def new_attributes(new_y = y, new_x = x, new_oy = oy, new_ox = ox) attributes.merge!(x: new_x, y: new_y, ox: new_ox, oy: new_oy)