Method: ConsoleManager.repaint

Defined in:
lib/views.rb

.repaint(rows) ⇒ Object



18
19
20
21
22
# File 'lib/views.rb', line 18

def self.repaint(rows)
  print RESTORE_CURSOR
  num_rows = rows.flat_map(&:to_s).length
  rows.each { |row| puts row.to_s; puts }
end