module Hobostove
  class InputPanel < Panel
    def <<(string)
      @strings = []

      super
    end

    def message
      @strings.first
    end

    def update_cursor
      @win.wmove(1, message.size)
    end
  end
end

module Hobostove
  class InputPanel < Panel
    def <<(string)
      @strings = []

      super
    end

    def message
      @strings.first
    end

    def update_cursor
      Ncurses.move(Ncurses.LINES - 2, message.size + 2)
    end
  end
end

Update the cursor position to be 1 ahead of typed text
Update the cursor position to be 1 ahead of typed text
