support editing command line in editor