Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WSL terminal forgets to update and loses focus

I'm trying to use the WSL console in Windows 10 (version 1909) for some development work, but I find that often running processes will simply appear to have hung, but when I send a keystroke to the terminal it will update back to the bash terminal (as if had completed all along but hadn't updated).

I am running the latest version of the debian package from the store.

Is there anyway to make this problem go away or am I wasting my time trying to use the default terminal?

like image 914
quant Avatar asked Dec 27 '18 03:12

quant


1 Answers

Just a hunch, but I am guessing you are ending up in select mode. If you click anywhere in the terminal the title of the window will change to be prefixed with "select" and the terminal output will freeze so that you can select text without it changing while you try to highlight it. Pressing any key will cause you to exit select mode.

If this bothers you you can turn it off by right clicking on the title bar, clicking properties, and disabling quick-edit mode. Alternately, might I recommend the new Windows terminal, which handles selection and the clipboard in a more intuitive way.

like image 167
9072997 Avatar answered Jan 04 '23 12:01

9072997