Use a gesture detector to properly detect taps and double taps. This prevents scrolling causing the command line to be filled with words.