I had "Secure Keyboard Entry" turned on in Terminal.app. Apparently this prevents the authentication pop-up (or anything else, presumably) from taking focus away from Terminal.
Turning it off solves the focus issue!
I had "Secure Keyboard Entry" turned on in Terminal.app. Apparently this prevents the authentication pop-up (or anything else, presumably) from taking focus away from Terminal.
Turning it off solves the focus issue!