prevent drag of text selection in terminal

Discussion in 'macOS' started by uncleMonty, Feb 28, 2014.

  1. uncleMonty macrumors regular

    Joined:
    Jun 8, 2012
    #1
    Sometimes when I use the mouse or trackpad to grab a chunk of text in the terminal (previous to copying and pasting into another application, for example), OS X decides to drag the selection within the terminal (i.e. pastes it in to the terminal window while I'm still moving the mouse or trackpad). This is usually disastrous, especially if I'm currently in an editor or other environment running on the terminal, because it will interpret all the pasted text as commands, sometimes resulting in a lost document. Is there a way to disable this behaviour? Thanks!
     
  2. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #2
    Use SHIFT-CLICK to extend a selection, rather than DRAGGING.

    I often do selection this way in Terminal, for exactly the reasons stated.
     
  3. uncleMonty thread starter macrumors regular

    Joined:
    Jun 8, 2012
    #3
    That's a great tip, thank you! Now to get it in my finger memory...
     
  4. Alrescha macrumors 68020

    Joined:
    Jan 1, 2008
    #4
    If you find yourself accidentally dragging text in Terminal, you can cancel the drag before you let go by hitting Escape.

    A.
     

Share This Page