when hitting enter will send the command