module Glyph

Public Instance Methods

draw_glyph(glyph, x=nil, y=nil) click to toggle source
# File lib/curses/geometry/glyph.rb, line 2
def draw_glyph(glyph, x=nil, y=nil)
  setpos(y, x) unless x.nil? || y.nil?
  addch(glyph)
end