0

When launching the Groovy REPL, groovysh, it also launches a separate support app that appears in the dock. This app thus steals focus meaning I can't start typing into the groovysh interpreter immediately; I need to click back to the terminal to get focus there again.

Is there a way to disable this behaviour or should I make a bug report? I found this old ticket which sounds promising but the focus theft persists.

Friedrich 'Fred' Clausen
  • 3,321
  • 8
  • 39
  • 70

1 Answers1

2

This worked for me:

groovysh -Djava.awt.headless=true
Kevin
  • 21
  • 2