def _convert_curpos_to_column  #:nodoc:
      _calculate_column_offsets unless @coffsets
      x = 0
      @coffsets.each_with_index { |i, ix|
        if @curpos < i
          break
        else
          x += 1
        end
      }
      x -= 1 # since we start offsets with 0, so first auto becoming 1
      return x
    end
def _convert_curpos_to_column  #:nodoc:
      _calculate_column_offsets unless @coffsets
      x = 0
      @coffsets.each_with_index { |i, ix|
        if @curpos < i
          break
        else
          x += 1
        end
      }
      x -= 1 # since we start offsets with 0, so first auto becoming 1
      return x
    end
Convert current cursor position to a table column
 calculate column based on curpos since user may not have
 user w and b keys (:next_column)
 @return [Integer] column index base 0