@returns(gint) def get_current_index()
Gets the index of the current entry. This is guaranteed to be < the history's size, so if the history is empty, it returns -1.
Returns :
index of the current entry