The last ex command not showing up automatically