saving command line when displaying information messages