def _get_string_and_set_width(self, combination, mode):
show = "<STR_LIT:{}>".format(self._separator(mode)).join(combination)<EOL>show = show.rstrip("<STR_LIT:{}>".format(self._separator(mode)))<EOL>self.max_width = max([self.max_width, len(show)])<EOL>return show<EOL>
Construct the string to be displayed and record the max width.