def same_style(char1, char2):
        """
        Check if both chars have the same style
        :param char1: first char to compare
        :type char1: ShChar
        :param char2: second char to compare
        :type char2: ShChar
        :return: whether both chars have the same style or not
        :rtype: bool
        """
        return char1.fg == char2.fg \
               and char1.bg == char2.bg \
               and char1.bold is char2.bold \
               and char1.italics is char2.italics \
               and char1.underscore is char2.underscore \
               and char1.strikethrough is char2.strikethrough

        Check if both chars have the same style
        :param char1: first char to compare
        :type char1: ShChar
        :param char2: second char to compare
        :type char2: ShChar
        :return: whether both chars have the same style or not
        :rtype: bool
        
system/shscreens.py