    def box_line(self, width):
        """
        Returns a string with a vertical bar on each end, padded with
        spaces in between for the given width.

        :param width: width of box including sides
        """
        return self.v + (width - 2) * ' ' + self.v
Returns a string with a vertical bar on each end, padded with
spaces in between for the given width.

:param width: width of box including sides
asciimatics/utilities.py