lib/ttytest/terminal.rb in ttytest2-0.9.5 vs lib/ttytest/terminal.rb in ttytest2-0.9.6
- old
+ new
@@ -73,12 +73,12 @@
:send_newline, :send_newlines,
:send_delete, :send_deletes,
:send_backspace, :send_backspaces,
:send_left_arrow, :send_left_arrows, :send_right_arrow, :send_right_arrows,
:send_down_arrow, :send_down_arrows, :send_up_arrow, :send_up_arrows,
- :send_keys_exact, :send_home, :send_end,
- :capture, :print, :print_rows
+ :send_keys_exact, :send_home, :send_end, :send_clear,
+ :capture
# @!method rows
# @return [Array<String>]
# @see Capture#rows
# @!method row(row)
@@ -100,10 +100,11 @@
# @see Capture#cursor_visible?
# @return [true,false]
# @!method cursor_hidden?
# @see Capture#cursor_hidden?
# @return [true,false]
- def_delegators :capture, :rows, :row,
+ def_delegators :capture, :print, :print_rows,
+ :rows, :row,
:width, :height,
:cursor_x, :cursor_y,
:cursor_visible?, :cursor_hidden?
TTYtest::Matchers::METHODS.each do |matcher_name|