

def clearLine(self, y):
    'Clear a line of content, excluding the chrome'
    (minx, _, _, _) = self.getChromeBoundaries()
    (_, maxx) = self.stdscr.getmaxyx()
    charsToDelete = range(minx, maxx)
    for x in reversed(charsToDelete):
        self.stdscr.delch(y, x)

dataset/ETHPy150Open facebook/PathPicker/src/screenControl.py Controller.clearLine/original