Method: Muby::UserWindow#print

Defined in:
lib/muby/user_window.rb


22
23
24
25
26
27
28
29
30
31
32
# File 'lib/muby/user_window.rb', line 22

def print(line, col, *info)
  @window.move(line, col)
  info.each do |e|
    if String === e
      @window.printw("%s", e)
    elsif Muby::Style === e
      e.affect(@window)
    end
  end
  @window.refresh
end