'>>> console = ConsoleUI(do_upd=False)
>>> console._parseLine(\'abc\')
[\'abc\']
>>> console._parseLine(\'abc def\')
[\'abc\', \'def\']
>>> console._parseLine(\'abc "def jkl"\')
[\'abc\', \'def jkl\']
>>> console._parseLine(\'abc "def jkl\')
No closing quotation'

def _parseLine(self, line=None):

    if (line is None):
        line = self._getLineStr()
    try:
        result = shlex.split(line)
    except ValueError as ve:
        term.write((str(ve) + '\n'))
        return []
    else:
        return result
