# File lib/luck/textbox.rb, line 13
  def redraw
    super
    
    case @alignment
      when :center
        text.center width
      when :right
        text.rjust width
      else
        @display.driver.set_cursor y1, x1 + text.size - @text.size + @index if @display.active_control == self
    end
    @display.driver.cursor = true if @display.active_control == self
  end