# File lib/luck/pane.rb, line 118 def draw_title title = " * #{@title} * " left = (((width - 1).to_f / 2) - (title.size.to_f / 2)).to_i if title.size >= width title = @title[0, width - 3] left = 0 end print @display.color('1;34') @display.place y1, x1 + 1 + left, title print @display.color('0') end