def truncate(
        input_line: str) -> str:
    """
    When a string is over 80 characters long, string is limited to 79
    characters for readability in GUI window, An ellipsis (...) is added to
    denote unseen text
    """
    if len(input_line) >= 80:
        input_line = input_line[0:79]
        return input_line + "..."
    else:
        return input_line