Assgin alt+^M for Python console history.