Module: WindowIO

Defined in:
lib/output.rb

Overview

into top level…

Instance Method Summary collapse

Instance Method Details

#getchObject



147
148
149
# File 'lib/output.rb', line 147

def getch
  X.getch
end

#p(*args) ⇒ Object



139
140
141
# File 'lib/output.rb', line 139

def p(*args)
  $stdscr.p(*args)
end


135
136
137
# File 'lib/output.rb', line 135

def print(*args)
  $stdscr.print(*args)
end

#puts(*args) ⇒ Object

Doesn’t affect STDOUT.puts, etc.



131
132
133
# File 'lib/output.rb', line 131

def puts(*args)       # Doesn't affect STDOUT.puts, etc.
  $stdscr.puts(*args)
end

#rcprint(r, c, *args) ⇒ Object



143
144
145
# File 'lib/output.rb', line 143

def rcprint(r, c, *args)
  $stdscr.rcprint r, c, *args
end