lib/vedeu/cursor/cursor.rb in vedeu-0.4.26 vs lib/vedeu/cursor/cursor.rb in vedeu-0.4.27

- old
+ new

@@ -104,9 +104,15 @@ # @return [Vedeu::EscapeChar] def show_cursor @show_cursor ||= Vedeu::EscapeChar.new(Vedeu::Esc.show_cursor) end + # @param value [Boolean] + # @return [void] + def visible=(value) + @visible = @attributes[:visible] = value + end + private # Return the position of this cursor. # # @return [Vedeu::Position]