Using command line history window