def METHOD_NAME(self):  # no  cov
    """Set the variables used for display."""
    fallback = (108, 24)
    terminal_width = max(
        get_terminal_size(fallback=fallback).columns, fallback[0]
    )
    self.max_value_width = terminal_width - fallback[0] + 36
    self.key_width = 4
    self.value_width = self.max_value_width
    if self.data:
        self.key_width = max(map(len, self.data.keys()))
        self.value_width = min(
            max(map(len, self.data.values())), self.max_value_width
        )
    self.logo_lines = self.logo.split("\n") if self.logo else []
    self.logo_line_length = 24
    self.centering_length = (
        self.key_width + self.value_width + 2 + self.logo_line_length
    )
    self.display_length = self.key_width + self.value_width + 2