prevent drag of text selection in terminal

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

  1. uncleMonty macrumors regular

    Jun 8, 2012
    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

    Aug 9, 2009
    Sailing beyond the sunset
    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

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

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


Share This Page