def METHOD_NAME(self, short: bool = False) -> str:
    """Returns a pretty-printed version of the entry.
    If short is true, only print the title."""
    # Handle indentation
    if self.journal.config["indent_character"]:
        indent = self.journal.config["indent_character"].rstrip() + " "
    else:
        indent = ""
    date_str = colorize(
        self.date.strftime(self.journal.config["timeformat"]),
        self.journal.config["colors"]["date"],
        bold=True,
    )
    if not short and self.journal.config["linewrap"]:
        columns = self.journal.config["linewrap"]
        if columns == "auto":
            try:
                columns = os.get_terminal_size().columns
            except OSError:
                logging.debug(
                    "Can't determine terminal size automatically 'linewrap': '%s'",
                    self.journal.config["linewrap"],
                )
                columns = 79
        # Color date / title and bold title
        title = wrap_with_ansi_colors(
            date_str
            + " "
            + highlight_tags_with_background_color(
                self,
                self.title,
                self.journal.config["colors"]["title"],
                is_title=True,
            ),
            columns,
        )
        body = highlight_tags_with_background_color(
            self, self.body.rstrip(" \n"), self.journal.config["colors"]["body"]
        )
        body = wrap_with_ansi_colors(body, columns - len(indent))
        if indent:
            # Without explicitly colorizing the indent character, it will lose its
            # color after a tag appears.
            body = "\n".join(
                colorize(indent, self.journal.config["colors"]["body"]) + line
                for line in body.splitlines()
            )
        body = colorize(body, self.journal.config["colors"]["body"])
    else:
        title = (
            date_str
            + " "
            + highlight_tags_with_background_color(
                self,
                self.title.rstrip("\n"),
                self.journal.config["colors"]["title"],
                is_title=True,
            )
        )
        body = highlight_tags_with_background_color(
            self, self.body.rstrip("\n "), self.journal.config["colors"]["body"]
        )
    # Suppress bodies that are just blanks and new lines.
    has_body = len(self.body) > 20 or not all(
        char in (" ", "\n") for char in self.body
    )
    if short:
        return title
    else:
        return "{title}{sep}{body}\n".format(
            title=title, sep="\n" if has_body else "", body=body if has_body else ""
        )