def pad(text, min_width, tabwidth=4):
    """
    Fill the text with tabs at the end until the minimal width is reached.
    """
    tab_count = ((min_width / tabwidth) - (len(text) / tabwidth)) + 1
    return text + ('\t' * int(tab_count))