def centre(self, text, y, colour=7, attr=0, colour_map=None):
        x = (self.width - len(text)) // 2
        self.paint(text, x, y, colour, attr, colour_map=colour_map)
Centre the text on the specified line (y) using the optional
dataset/ETHPy150Open peterbrittain/asciimatics/asciimatics/screen.py/_AbstractCanvas.centre