def _get_history(self):
        rv = self._IP.input_hist_raw[self._history_level].strip('\n')
        return rv
Get's the command string of the current history level.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/deathrow/gui/wx/ipshell_nonblocking.py/NonBlockingIPShell._get_history