• @[email protected]
    link
    fedilink
    5510 months ago

    Given that their hand is over the mouse and not the keyboard/enter key, I assume they’re gonna click close on the terminal :p

    • @mipadaitu
      link
      English
      3110 months ago

      Right click for paste, they have \n in the clipboard

      • @[email protected]
        link
        fedilink
        English
        810 months ago

        Afaik \n may not run a command. I have pasted multiline commands but they only seem to run after hitting enter

        • Ghoelian
          link
          fedilink
          710 months ago

          Depends on the terminal I think. Pretty sure KDE’s Konsole warns you that commands may be run when pasting something with newlines, but still allows it.

        • @MeanEYE
          link
          310 months ago

          There is an exploit which addresses copy pasting things in terminal. Where you’d copy one thing, but when pasting you get more than you bargained for. Any decent terminal would ignore \n for this reason or at least not treat it as pressing enter.

        • LostXOR
          link
          fedilink
          110 months ago

          It definitely runs the command for me in GNOME Terminal. Pasting multiple commands at once runs everything but the last command.

    • @[email protected]
      link
      fedilink
      110 months ago

      Well they did have the type the command, and to do that they would first have to navigate to the terminal (assuming the machine isn’t running just a plain tty) first.