def history_append(text: str='', current_character: int=0,
    remove_duplicates: bool=False):
    """Append history at cursor position 

    :param text: Text, Text to insert at the cursor position 
    :type text: str
    :param current_character: Cursor, The index of the cursor 
    :type current_character: int
    :param remove_duplicates: Remove Duplicates, Remove duplicate items in the history 
    :type remove_duplicates: bool
    """
    pass
