    def box(self, width, height):
        """
        Returns a string containing a box with the given width and height.
        """
        lines = [self.box_top(width)]
        for _ in range(height - 2):
            lines.append(self.box_line(width))

        lines.append(self.box_bottom(width))
        return '\n'.join(lines) + '\n'
Returns a string containing a box with the given width and height.
asciimatics/utilities.py