unable to copy/paste in mingw shell

前端 未结 7 999
不知归路
不知归路 2021-01-30 12:01

I just installed MinGW on Windows and I\'m unable to copy/paste as I am used to on Linux or even PuTTY. What is the trick for copying and pasting text (e.g. from chrome) into Mi

7条回答
  •  别那么骄傲
    2021-01-30 12:46

    Win7 running MINGW64 (mintty 2.7.3) which came with the current version of Git Bash 2.1.3.0 from date of this comment.

    Right click title bar of shell > Mouse > under Click actions > Right mouse button > select the Paste radio button.

    However, I was surprised to find this didn't allow me to paste using my right click on my mouse.

    I had to also select Application mouse mode > Default click target > Window

    After changing both settings I was able to paste.

    So it seems the new shell that comes with the current version of Git bash has new features. It also seems to be a bit buggy. For instance running an an executable via cli (e.g. php -version results in empty output and forces me to restart the shell). Waiting for a new update, hopefully which will fix this.

提交回复
热议问题